pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/netpbm Fixed PKGMANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f9daae9174d
branches:  trunk
changeset: 522317:0f9daae9174d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Dec 06 23:04:26 2006 +0000

description:
Fixed PKGMANDIR.

diffstat:

 graphics/netpbm/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r f91774388827 -r 0f9daae9174d graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile  Wed Dec 06 23:02:05 2006 +0000
+++ b/graphics/netpbm/Makefile  Wed Dec 06 23:04:26 2006 +0000
@@ -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 @@
 
 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 @@
        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 &&                           \



Home | Main Index | Thread Index | Old Index