summaryrefslogtreecommitdiff
path: root/print/teTeX-sharesrc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/teTeX-sharesrc/Makefile')
-rw-r--r--print/teTeX-sharesrc/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/print/teTeX-sharesrc/Makefile b/print/teTeX-sharesrc/Makefile
index 92666b8cf24..81679f2460d 100644
--- a/print/teTeX-sharesrc/Makefile
+++ b/print/teTeX-sharesrc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2005/05/16 01:15:33 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2005/05/16 03:04:45 jlam Exp $
DISTNAME= tetex-texmfsrc-2.0.2
PKGNAME= teTeX-sharesrc-2.0.2
@@ -20,16 +20,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"