summaryrefslogtreecommitdiff
path: root/print/teTeX-sharesrc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-17 22:00:13 +0000
committerjlam <jlam@pkgsrc.org>2005-05-17 22:00:13 +0000
commit4d2fb797dba9c9dd13af2cd19bccb1f3e76935f5 (patch)
treed0b2f8d38833526831bd2c92e4d8ba7169374746 /print/teTeX-sharesrc
parent019698e51a63384fdffb680066acf1bef26bd93b (diff)
downloadpkgsrc-4d2fb797dba9c9dd13af2cd19bccb1f3e76935f5.tar.gz
Use EXTRACT_CMD_OPTS.tar.gz and EXTRACT_CMD.tar.gz instead of figuring
out the whole command line necessary to extract a .tar.gz file.
Diffstat (limited to 'print/teTeX-sharesrc')
-rw-r--r--print/teTeX-sharesrc/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/print/teTeX-sharesrc/Makefile b/print/teTeX-sharesrc/Makefile
index 8ecf57dd872..91acc50d0c2 100644
--- a/print/teTeX-sharesrc/Makefile
+++ b/print/teTeX-sharesrc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2005/05/16 12:35:06 tron Exp $
+# $NetBSD: Makefile,v 1.27 2005/05/17 22:00:13 jlam Exp $
DISTNAME= tetex-texmfsrc-2.0.2
PKGNAME= teTeX-sharesrc-2.0.2
@@ -24,10 +24,7 @@ NO_MTREE= yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
-.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
+ extract_file=${_DISTDIR:Q}/${DISTFILES:Q}; \
+ cd ${PREFIX}/share/texmf; ${EXTRACT_CMD${EXTRACT_SUFX}}
.include "../../mk/bsd.pkg.mk"