summaryrefslogtreecommitdiff
path: root/archivers/gtar/Makefile
diff options
context:
space:
mode:
authorkim <kim>1999-09-18 03:36:23 +0000
committerkim <kim>1999-09-18 03:36:23 +0000
commitf1c5c8f75c88e62161787871203da28749b9b6c0 (patch)
treec0c5bca728cc84f79590dd2ef1cc3fd855325bd9 /archivers/gtar/Makefile
parent9ea8ba30ec0218b765dd3dcf4312181f9ae55eba (diff)
downloadpkgsrc-f1c5c8f75c88e62161787871203da28749b9b6c0.tar.gz
Changes to allow bootstrapping Zoularis:
- fetch the shar file so we don't need tar - do not install info files (they will be a separate pkg), as we need tar to unpack the gtexinfo distribution - on Solaris we get .mo files instead of .cat files (I'm guessing for Linux, please someone verify and adjust Makefile appropriately)
Diffstat (limited to 'archivers/gtar/Makefile')
-rw-r--r--archivers/gtar/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index 283ea92465e..dabac6fbf4b 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -1,19 +1,31 @@
-# $NetBSD: Makefile,v 1.11 1999/04/14 21:39:01 tron Exp $
+# $NetBSD: Makefile,v 1.12 1999/09/18 03:36:23 kim Exp $
#
DISTNAME= tar-1.12
PKGNAME= gtar-1.12
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
+EXTRACT_SUFX= .shar.gz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/tar/tar.html
-USE_GTEXINFO= yes
+EXTRACT_CMD= ${DECOMPRESS_CMD} ${DOWNLOADED_DISTFILE} | ${SH}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --with-catgets
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} != "NetBSD")
+PLIST_SRC= ${WRKDIR}/PLIST
+
+pre-install:
+ -${RM} -f ${WRKDIR}/PLIST
+ ${CAT} ${PKGDIR}/PLIST | ${SED} -e 's/cat$$/mo/' > ${WRKDIR}/PLIST
+
+.endif
+
post-patch:
@${ECHO} '' >>${WRKSRC}/po/fr.po