pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/gtar-base Use INSTALLATION_DIRS instead of I...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b716b3c4c5b
branches:  trunk
changeset: 508142:6b716b3c4c5b
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Feb 15 18:00:10 2006 +0000

description:
Use INSTALLATION_DIRS instead of INSTALL_MAN_DIR.
Use PKGMANDIR instead of hardcoded "man".
(No changes to defaults.)

diffstat:

 archivers/gtar-base/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 2c33c1e0d5f6 -r 6b716b3c4c5b archivers/gtar-base/Makefile
--- a/archivers/gtar-base/Makefile      Wed Feb 15 17:49:32 2006 +0000
+++ b/archivers/gtar-base/Makefile      Wed Feb 15 18:00:10 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2006/02/05 23:08:04 joerg Exp $
+# $NetBSD: Makefile,v 1.49 2006/02/15 18:00:10 reed Exp $
 #
 
 DISTNAME=       tar-1.15.1
@@ -18,6 +18,7 @@
 
 USE_PKGLOCALEDIR=      YES
 GNU_CONFIGURE=         YES
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -57,9 +58,8 @@
 .endif
 
 post-install:
-       ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
        ${INSTALL_DATA} ${FILESDIR}/gtar.1 \
-               ${PREFIX}/man/man1/${GTAR_PROGRAM_PREFIX}tar.1
+               ${PREFIX}/${PKGMANDIR}/man1/${GTAR_PROGRAM_PREFIX}tar.1
 .if ${GTAR_PROGRAM_PREFIX} != "g"
        ${LN} -sf ${GTAR_PROGRAM_PREFIX}tar ${PREFIX}/bin/"gtar"
 .endif



Home | Main Index | Thread Index | Old Index