summaryrefslogtreecommitdiff
path: root/archivers/gtar-base
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2006-02-15 18:00:10 +0000
committerreed <reed@pkgsrc.org>2006-02-15 18:00:10 +0000
commit3e140e85a48605582a7af36ad927e3f82ed5ee15 (patch)
treefa9045a3f0ef9648a7ed02f7a1fba4b5680cbdb0 /archivers/gtar-base
parent3ad21fc69e4824efb6360935432a0a155d5f2935 (diff)
downloadpkgsrc-3e140e85a48605582a7af36ad927e3f82ed5ee15.tar.gz
Use INSTALLATION_DIRS instead of INSTALL_MAN_DIR.
Use PKGMANDIR instead of hardcoded "man". (No changes to defaults.)
Diffstat (limited to 'archivers/gtar-base')
-rw-r--r--archivers/gtar-base/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile
index b9d9a3b05d5..592389d7eb2 100644
--- a/archivers/gtar-base/Makefile
+++ b/archivers/gtar-base/Makefile
@@ -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 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
+INSTALLATION_DIRS= ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
@@ -57,9 +58,8 @@ PLIST_SUBST+= IF_LIBEXEC_RMT="@comment "
.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