aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/netpbm/Makefile
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-06-27 19:28:01 +0800
committerroam <roam@FreeBSD.org>2001-06-27 19:28:01 +0800
commit7d30046905a0c259d8e23b5d8a608d898c68d99d (patch)
treea1050669abf42fd4b6c51a36e5340bffcbdf370e /graphics/netpbm/Makefile
parentdd26f9e7e54491bdcd37b97411355167d70b9af3 (diff)
downloadfreebsd-ports-gnome-7d30046905a0c259d8e23b5d8a608d898c68d99d.tar.gz
freebsd-ports-gnome-7d30046905a0c259d8e23b5d8a608d898c68d99d.tar.zst
freebsd-ports-gnome-7d30046905a0c259d8e23b5d8a608d898c68d99d.zip
Update to 9.15.
PR: 28407 Submitted by: Ports Fury
Diffstat (limited to 'graphics/netpbm/Makefile')
-rw-r--r--graphics/netpbm/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index da5b82953c6f..2bf7afae292e 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= netpbm
-PORTVERSION= 9.14
+PORTVERSION= 9.15
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,6 +19,7 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
png.4:${PORTSDIR}/graphics/png
USE_GMAKE= yes
+MAKE_ENV= LN="${LN}"
MAKEFILE= GNUmakefile
ALL_TARGET= merge
INSTALL_TARGET= install-merge install-dev
@@ -29,8 +30,10 @@ INSTALLS_SHLIB= yes
.include "${FILESDIR}/manpages"
post-patch:
- @${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/pbmplus.h
+ @${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
+ @${ECHO} '#include "pm.h"' > ${WRKSRC}/pbmplus.h
@${CP} ${FILESDIR}/Makefile.config.FreeBSD ${WRKSRC}/Makefile.config
- @${LN} -sf ${WRKSRC}/shhopt/shhopt.h ${WRKSRC}/shhopt/pbmshhopt.h
+ @${LN} -sf ${WRKSRC}/shhopt/shhopt.h ${WRKSRC}/shhopt/pm_shhopt.h
.include <bsd.port.post.mk>