aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/netpbm/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-20 04:21:21 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-20 04:21:21 +0800
commit1b605d14a8dec13391a57a96fd9d03c059d3435a (patch)
tree9c924a19d5a7cf0618636a03da77b37d88667768 /graphics/netpbm/Makefile
parent5e66f641d36c9688781267d2e9586b07986e6163 (diff)
downloadfreebsd-ports-graphics-1b605d14a8dec13391a57a96fd9d03c059d3435a.tar.gz
freebsd-ports-graphics-1b605d14a8dec13391a57a96fd9d03c059d3435a.tar.zst
freebsd-ports-graphics-1b605d14a8dec13391a57a96fd9d03c059d3435a.zip
upgrade to 10.2
PR: 39482 Submitted by: Ports Fury
Diffstat (limited to 'graphics/netpbm/Makefile')
-rw-r--r--graphics/netpbm/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 6b80b7f6c21..9b1caf237c9 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= netpbm
-PORTVERSION= 9.25
-PORTREVISION= 1
+PORTVERSION= 10.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,16 +22,14 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
USE_GMAKE= yes
MAKE_ENV= LN="${LN}" RANLIB="${RANLIB}"
MAKEFILE= GNUmakefile
+INSTALL_TARGET= install.bin install.lib install-dev
INSTALLS_SHLIB= yes
-.include <bsd.port.pre.mk>
-
-.include "${FILESDIR}/manpages"
-
post-patch:
- @${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
+ @${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
@${CP} ${FILESDIR}/Makefile.config.FreeBSD ${WRKSRC}/Makefile.config
- @${LN} -sf ${WRKSRC}/shhopt/shhopt.h ${WRKSRC}/shhopt/pm_shhopt.h
+ @${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
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>