1995-02-06 05:25:17 -05:00
|
|
|
# New ports collection makefile for: netpbm
|
|
|
|
# Date created: ?
|
|
|
|
# Whom: jmz (original)
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1995-02-06 05:25:17 -05:00
|
|
|
#
|
1995-02-06 20:32:21 -05:00
|
|
|
|
2000-04-14 06:48:02 -04:00
|
|
|
PORTNAME= netpbm
|
2001-10-09 19:54:33 -04:00
|
|
|
PORTVERSION= 9.20
|
1996-11-18 06:44:27 -05:00
|
|
|
CATEGORIES= graphics
|
2000-06-14 09:21:38 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-04-01 18:57:38 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
1995-04-09 03:09:55 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1995-02-11 08:51:48 -05:00
|
|
|
|
2000-04-01 18:57:38 -05:00
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
2000-06-04 18:36:27 -04:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-10 22:22:51 -04:00
|
|
|
png.5:${PORTSDIR}/graphics/png
|
1994-10-15 15:14:08 -04:00
|
|
|
|
2000-04-01 18:57:38 -05:00
|
|
|
USE_GMAKE= yes
|
2001-07-24 10:07:58 -04:00
|
|
|
MAKE_ENV= LN="${LN}" RANLIB="${RANLIB}"
|
2000-05-19 04:34:13 -04:00
|
|
|
MAKEFILE= GNUmakefile
|
2000-07-01 15:26:13 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-10-31 20:14:38 -05:00
|
|
|
|
2000-06-09 19:49:42 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.include "${FILESDIR}/manpages"
|
1995-04-09 03:09:55 -04:00
|
|
|
|
1999-10-31 20:14:38 -05:00
|
|
|
post-patch:
|
2001-06-27 07:28:01 -04:00
|
|
|
@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/pm_config.h
|
|
|
|
@${PERL} -pi -e 's|<shhopt.h>|<pm_shhopt.h>|g' ${WRKSRC}/pbm/pm.h
|
2001-02-25 22:22:33 -05:00
|
|
|
@${CP} ${FILESDIR}/Makefile.config.FreeBSD ${WRKSRC}/Makefile.config
|
2001-06-27 07:28:01 -04:00
|
|
|
@${LN} -sf ${WRKSRC}/shhopt/shhopt.h ${WRKSRC}/shhopt/pm_shhopt.h
|
2000-04-01 18:57:38 -05:00
|
|
|
|
2000-06-09 19:49:42 -04:00
|
|
|
.include <bsd.port.post.mk>
|