openbsd-ports/graphics/netpbm/Makefile
2001-05-24 02:27:06 +00:00

45 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2001/05/24 02:27:41 kevlo Exp $
# $NetBSD: Makefile,v 1.25 1999/03/04 14:18:54 tron Exp $
COMMENT= "toolkit for converting images between different formats"
DISTNAME= netpbm-1mar1994
PKGNAME= netpbm-19940301
CATEGORIES= graphics
NEED_VERSION= 1.384
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/ \
ftp://ftp.libpng.org/pub/png/src/
DISTFILES= ${DISTNAME}.tar.gz:0 pcxtoppm.tar.gz rletopnm.tar.gz \
pnmtopng-2.37.5.tar.gz:1
DIST_SUBDIR= netpbm
LIB_DEPENDS= jpeg.62::graphics/jpeg \
tiff.35::graphics/tiff \
png.2::graphics/png
MAINTAINER= Brad Smith <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
MAKE_FLAGS= PREFIX="${PREFIX}" MANCP="${INSTALL_MAN}"
FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}" MANCP="${INSTALL_MAN}"
WRKDIST= ${WRKDIR}/netpbm
post-extract:
@cd ${WRKSRC} && \
mv ../pnmtopng-2.37.5/* .. && \
mv ../*pcx*.? ppm && \
mv ../*rle*.? ../*png*.? pnm && \
mv ../version.h pnm
.include <bsd.port.mk>