summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorrillig <rillig>2006-12-06 23:04:26 +0000
committerrillig <rillig>2006-12-06 23:04:26 +0000
commit0df832aae39010c96bb46fb9676a5e205ffc7b68 (patch)
tree6a49869943b06728a5206bb54c29e3cea3d4582e /graphics
parent3f49f1adae1dad6948c660fa88c662a9600b526c (diff)
downloadpkgsrc-0df832aae39010c96bb46fb9676a5e205ffc7b68.tar.gz
Fixed PKGMANDIR.
Diffstat (limited to 'graphics')
-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 && \