summaryrefslogtreecommitdiff
path: root/print/teTeX3-texmfsrc
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-16 03:04:44 +0000
committerjlam <jlam>2005-05-16 03:04:44 +0000
commit43c47c1b47887ef8bc7dd2962e4fc3732705a948 (patch)
treeb4a01b61c27a7220ff7f5134cb7652ae5ab80571 /print/teTeX3-texmfsrc
parente3f34cf3b94d75c39bb593e4765fd3331b249330 (diff)
downloadpkgsrc-43c47c1b47887ef8bc7dd2962e4fc3732705a948.tar.gz
Change the EXTRACT_USING_PAX defined/undefined option into a EXTRACT_USING
which can take multiple values -- "pax" or "gtar". The default value of EXTRACT_USING is "pax", which more closely matches reality since before, we were using bootstrap "tar" for ${GTAR} and it was actually pax-as-tar. Also, stop pretending pax-as-tar from the bootstrap kit or on NetBSD is GNU tar. Lastly, in bsd.pkg.extract.mk, note whether we need "pax" or "gtar" depending on what we need to extract the distfiles.
Diffstat (limited to 'print/teTeX3-texmfsrc')
-rw-r--r--print/teTeX3-texmfsrc/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/print/teTeX3-texmfsrc/Makefile b/print/teTeX3-texmfsrc/Makefile
index ef804b68314..3210599a036 100644
--- a/print/teTeX3-texmfsrc/Makefile
+++ b/print/teTeX3-texmfsrc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/05/16 01:15:33 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2005/05/16 03:04:45 jlam Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp
#
@@ -22,16 +22,12 @@ NO_CONFIGURE= yes
NO_BUILD= yes
NO_MTREE= yes
-.if !defined(EXTRACT_USING_PAX)
-PKGSRC_USE_TOOLS+= gtar
-.endif
-
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
-.if defined(EXTRACT_USING_PAX)
- cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${PAX} -O -r
-.else
+.if !empty(EXTRACT_USING:Mgtar)
cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${GTAR} -xpf -
+.else
+ cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${PAX} -O -r
.endif
.include "../../mk/bsd.pkg.mk"