diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-17 22:00:13 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-17 22:00:13 +0000 |
commit | 4d2fb797dba9c9dd13af2cd19bccb1f3e76935f5 (patch) | |
tree | d0b2f8d38833526831bd2c92e4d8ba7169374746 /print/teTeX3-texmfsrc | |
parent | 019698e51a63384fdffb680066acf1bef26bd93b (diff) | |
download | pkgsrc-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/teTeX3-texmfsrc')
-rw-r--r-- | print/teTeX3-texmfsrc/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/print/teTeX3-texmfsrc/Makefile b/print/teTeX3-texmfsrc/Makefile index 73e0a40f153..59f44f00bb4 100644 --- a/print/teTeX3-texmfsrc/Makefile +++ b/print/teTeX3-texmfsrc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/05/16 16:33:24 kristerw Exp $ +# $NetBSD: Makefile,v 1.6 2005/05/17 22:00:13 jlam Exp $ # FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp # @@ -26,10 +26,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" |