pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/gtar-info Fix problem where this installed a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0085b430357
branches:  trunk
changeset: 499450:c0085b430357
user:      reed <reed%pkgsrc.org@localhost>
date:      Thu Sep 22 16:48:34 2005 +0000

description:
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:

 archivers/gtar-info/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 2e035a89c3da -r c0085b430357 archivers/gtar-info/Makefile
--- a/archivers/gtar-info/Makefile      Thu Sep 22 16:14:50 2005 +0000
+++ b/archivers/gtar-info/Makefile      Thu Sep 22 16:48:34 2005 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index