diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-10-07 02:03:02 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-10-07 02:03:02 +0800 |
commit | 4b8d87778c729cea2ff7864d0aa0d650cfaa1587 (patch) | |
tree | 6bea0608895c9265ed48ee4de7775e8ff1d64dcd /graphics/netpbm/Makefile | |
parent | 1fbc3f9f96ab719bf5f4474a1df3b81109b38d1d (diff) | |
download | freebsd-ports-gnome-4b8d87778c729cea2ff7864d0aa0d650cfaa1587.tar.gz freebsd-ports-gnome-4b8d87778c729cea2ff7864d0aa0d650cfaa1587.tar.zst freebsd-ports-gnome-4b8d87778c729cea2ff7864d0aa0d650cfaa1587.zip |
upgrade to 10.9
PR: 43700
Submitted by: Ports Fury
Diffstat (limited to 'graphics/netpbm/Makefile')
-rw-r--r-- | graphics/netpbm/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index febc17abc42b..f244c99f8b52 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -6,7 +6,7 @@ # PORTNAME= netpbm -PORTVERSION= 10.8 +PORTVERSION= 10.9 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -28,10 +28,17 @@ INSTALL_TARGET= install.bin install.lib install-dev INSTALLS_SHLIB= yes post-patch: - @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/pm_config.h + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g ; \ + 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}/lib/util/shhopt.h ${WRKSRC}/lib/util/pm_shhopt.h @${LN} -sf ${WRKSRC}/lib/util/nstring.h ${WRKSRC}/lib/util/pm_nstring.h +post-install: + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/lib/rgb.txt ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/converter/other/pnmtopalm/*.map ${DATADIR} + .include <bsd.port.mk> |