summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-12-06 23:04:26 +0000
committerrillig <rillig@pkgsrc.org>2006-12-06 23:04:26 +0000
commitfa3ed72de0dd60b11372e6859664b97bacc551c9 (patch)
tree6a49869943b06728a5206bb54c29e3cea3d4582e /graphics/netpbm
parent9622cf91b11d975e3671417780cf6e4d74e6d3c6 (diff)
downloadpkgsrc-fa3ed72de0dd60b11372e6859664b97bacc551c9.tar.gz
Fixed PKGMANDIR.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 98a5c755671..d983e643a9b 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.148 2006/11/29 22:59:49 reed Exp $
+# $NetBSD: Makefile,v 1.149 2006/12/06 23:04:26 rillig Exp $
DISTNAME= netpbm-10.34
CATEGORIES= graphics
@@ -24,6 +24,7 @@ STAGEDIR= ${WRKDIR}/staging
LIBS.SunOS+= -lsocket -lnsl
MAKE_ENV+= NETWORKLD=${LIBS:Q}
+MAKE_FLAGS+= PKGMANDIR=${PKGMANDIR}
# Several of the netpbm shell scripts use bashisms, so force using
# bash for all of the shell scripts.
@@ -82,6 +83,7 @@ post-install:
cd ${STAGEDIR} && \
${MV} link/* lib && \
${RM} -rf link man/web && \
+ (rmdir man || ${TRUE}) && \
${MKDIR} share/doc/netpbm && \
${CP} ${WRKSRC}/doc/* share/doc/netpbm && \
${MKDIR} ${PKGMANDIR}/man1 && \