summaryrefslogtreecommitdiff
path: root/archivers/gtar-info
diff options
context:
space:
mode:
authorreed <reed>2005-09-22 16:48:34 +0000
committerreed <reed>2005-09-22 16:48:34 +0000
commite641a1b95f29c9cf2c40d157f8695385af6517ed (patch)
treeba4b38992d086c5edf3f904c109af5096e11bebb /archivers/gtar-info
parent6bf37c43bb340f5345152b061183cd1a7179cad4 (diff)
downloadpkgsrc-e641a1b95f29c9cf2c40d157f8695385af6517ed.tar.gz
Fix problem where this installed a tarball that was included in
the extracted tarball. Use INSTALLATION_DIRS to create ${INFODIR}. Don't install tar-info-1 and tar-info-2. Just install tar.info which has it all. Bump PKGREVISION.
Diffstat (limited to 'archivers/gtar-info')
-rw-r--r--archivers/gtar-info/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/archivers/gtar-info/Makefile b/archivers/gtar-info/Makefile
index 8a7c1c31aa8..1fc1022d88c 100644
--- a/archivers/gtar-info/Makefile
+++ b/archivers/gtar-info/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2005/04/11 21:44:48 tv Exp $
+# $NetBSD: Makefile,v 1.20 2005/09/22 16:48:34 reed Exp $
#
DISTNAME= tar-1.15.1
PKGNAME= gtar-info-1.15.1
SVR4_PKGNAME= gtari
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
@@ -18,11 +19,9 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
NO_CONFIGURE= yes
NO_BUILD= yes
+INSTALLATION_DIRS= ${INFODIR}
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${INFO_DIR}
- for i in ${WRKSRC}/doc/tar.info* ; \
- do \
- ${INSTALL_DATA} $${i} ${PREFIX}/${INFO_DIR} ; \
- done
+ ${INSTALL_DATA} ${WRKSRC}/doc/tar.info ${PREFIX}/${INFO_DIR}
.include "../../mk/bsd.pkg.mk"