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