pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Honor PKGMANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f667eca0cea
branches:  trunk
changeset: 504875:3f667eca0cea
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue Dec 27 17:34:53 2005 +0000

description:
Honor PKGMANDIR.

diffstat:

 graphics/png/Makefile      |  10 +++++-----
 pkgtools/verifypc/Makefile |   6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (57 lines):

diff -r 0656d53659fa -r 3f667eca0cea graphics/png/Makefile
--- a/graphics/png/Makefile     Tue Dec 27 17:30:50 2005 +0000
+++ b/graphics/png/Makefile     Tue Dec 27 17:34:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2005/12/05 20:50:22 rillig Exp $
+# $NetBSD: Makefile,v 1.73 2005/12/27 17:34:53 reed Exp $
 
 # On update, don't forget to increase shared library major/minor's in
 # accordance with changes (patch-aa).
@@ -29,7 +29,7 @@
 MAKE_ENV+=     LIBPNG_SO_MAJOR=${LIBPNG_SO_MAJOR:Q}
 MAKE_ENV+=     LIBPNG_SO_MINOR=${LIBPNG_SO_MINOR:Q}
 
-INSTALLATION_DIRS=     include lib/pkgconfig man/man3 man/man5
+INSTALLATION_DIRS=     include lib/pkgconfig ${PKGMANDIR}/man3 ${PKGMANDIR}/man5
 
 PKGCONFIG_OVERRIDE=    scripts/libpng.pc.in
 
@@ -40,9 +40,9 @@
 SUBST_MESSAGE.pc=      "Fixing libpng.pc.in."
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/libpng.3 ${PREFIX}/man/man3
-       ${INSTALL_MAN} ${WRKSRC}/libpngpf.3 ${PREFIX}/man/man3
-       ${INSTALL_MAN} ${WRKSRC}/png.5 ${PREFIX}/man/man5
+       ${INSTALL_MAN} ${WRKSRC}/libpng.3 ${PREFIX}/${PKGMANDIR}/man3
+       ${INSTALL_MAN} ${WRKSRC}/libpngpf.3 ${PREFIX}/${PKGMANDIR}/man3
+       ${INSTALL_MAN} ${WRKSRC}/png.5 ${PREFIX}/${PKGMANDIR}/man5
        ${INSTALL_DATA} ${WRKSRC}/scripts/libpng.pc.in \
                ${PREFIX}/lib/pkgconfig/libpng12.pc
 
diff -r 0656d53659fa -r 3f667eca0cea pkgtools/verifypc/Makefile
--- a/pkgtools/verifypc/Makefile        Tue Dec 27 17:30:50 2005 +0000
+++ b/pkgtools/verifypc/Makefile        Tue Dec 27 17:34:53 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/10/09 10:30:23 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2005/12/27 17:36:41 reed Exp $
 #
 
 DISTNAME=      verifypc-1.3
@@ -23,7 +23,7 @@
 SUBST_SED.vars=                -e 's|@MAKE@|${MAKE}|g'
 SUBST_SED.vars+=       -e 's|@SH@|${SH}|g'
 
-INSTALLATION_DIRS=     man/man1 bin
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1 bin
 
 do-extract:
        ${CP} ${FILESDIR}/verifypc.sh ${WRKSRC}
@@ -32,6 +32,6 @@
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/verifypc.sh \
                ${PREFIX}/bin/verifypc
-       ${INSTALL_MAN} ${WRKSRC}/verifypc.1 ${PREFIX}/man/man1/
+       ${INSTALL_MAN} ${WRKSRC}/verifypc.1 ${PREFIX}/${PKGMANDIR}/man1/
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index