43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2000/05/21 12:39:01 fgsch Exp $
|
|
# $NetBSD: Makefile,v 1.25 1999/03/04 14:18:54 tron Exp $
|
|
|
|
DISTNAME= netpbm-1mar1994
|
|
PKGNAME= netpbm-19940301
|
|
CATEGORIES= graphics
|
|
NEED_VERSION= 1.230
|
|
MASTER_SITES= ftp://ftp.informatik.uni-oldenburg.de/pub/netpbm/
|
|
MASTER_SITES0= ftp://ftp.informatik.uni-oldenburg.de/pub/netpbm/ \
|
|
ftp://ftp.x.org/contrib/utilities/
|
|
MASTER_SITES1= ftp://swrinde.nde.swri.edu/pub/png/applications/
|
|
DISTFILES= ${DISTNAME}.tar.gz:0 pcxtoppm.tar.gz rletopnm.tar.gz \
|
|
pnmtopng-2.37.3.tar.gz:1
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
# Jumble of licenses, some of them don't allow for commercial redistribution
|
|
# TODO: Sort out, maybe separate into two distinct packages ?
|
|
PERMIT_DISTFILES_CDROM= No
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
|
tiff.35::graphics/tiff \
|
|
png.1.6::graphics/png
|
|
|
|
NO_CONFIGURE= Yes
|
|
MAKE_ENV= PREFIX=${PREFIX} MANCP="${INSTALL_MAN}"
|
|
FAKE= Yes
|
|
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX} MANCP="${INSTALL_MAN}"
|
|
|
|
WRKDIST= ${WRKDIR}/netpbm
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC} && \
|
|
mv ../pnmtopng-2.37.3/* .. && \
|
|
mv ../*pcx*.? ppm && \
|
|
mv ../*rle*.? ../*png*.? pnm
|
|
|
|
.include <bsd.port.mk>
|