# New ports collection makefile for:	netpbm
# Date created:		?
# Whom:			jmz (original)
#
# $FreeBSD: ports/graphics/netpbm/Makefile,v 1.39 2000/09/05 01:11:40 steve Exp $
#

PORTNAME=	netpbm
PORTVERSION=	9.8
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	tiff.4:${PORTSDIR}/graphics/tiff \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.4:${PORTSDIR}/graphics/png

USE_GMAKE=	yes
MAKEFILE=	GNUmakefile
ALL_TARGET=	merge
INSTALL_TARGET=	install-merge install-dev
INSTALLS_SHLIB=	yes

.include <bsd.port.pre.mk>

.include "${FILESDIR}/manpages"

post-patch:
	@${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/pbmplus.h

.include <bsd.port.post.mk>
