summaryrefslogtreecommitdiff
path: root/graphics/netpbm/Makefile
blob: 206b22b3b9eddc578b10f0ffbc5fee808153cedd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.19 1998/07/15 11:45:51 tv Exp $
#

DISTNAME=	netpbm
PKGNAME=	netpbm-19940301
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.wustl.edu//graphics/graphics/packages/NetPBM/ \
		ftp://ftp.informatik.uni-oldenburg.de/pub/netpbm/ \
		ftp://ftp.informatik.uni-oldenburg.de/pub/grafik/png/applications/
DISTFILES=	netpbm-1mar1994.tar.gz \
		pcxtoppm.tar.gz \
		rletopnm.tar.gz \
		pnmtopng-2.36.tar.gz

MAINTAINER=	tron@netbsd.org

CONFLICTS=	netpbm-94.3.1

DEPENDS+=	tiff-3.4:../../graphics/tiff
DEPENDS+=	jpeg-6b:../../graphics/jpeg
DEPENDS+=	png-1.0.2:../../graphics/png

WRKSRC=		${WRKDIR}/netpbm
MAKE_ENV +=	PREFIX=${PREFIX} INSTALL_MAN="${INSTALL_MAN}"

post-extract:
# make sure our TIFF library is used
	${RM} -rf ${WRKSRC}/libtiff
# move updates into source tree
	cd ${WRKSRC};\
	${MV} ../*pcx*.? ppm;\
	${MV} ../*rle*.? ../*png*.? pnm

.include "../../mk/bsd.pkg.mk"