summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-04-01 14:07:52 +0000
committeragc <agc@pkgsrc.org>1999-04-01 14:07:52 +0000
commit171e025b4a914da362b163a5c1b35de5704d732e (patch)
tree912abdad11a5164aee0a40a8b94b48bf6cea9e79 /textproc
parentcedce5937a71dab5e09821f072c8b4714d70b6d2 (diff)
downloadpkgsrc-171e025b4a914da362b163a5c1b35de5704d732e.tar.gz
Rewrite the extraction commands to be more intuitive.
In the vast majority of cases, nothing has changed (i.e. .tgz, .tar.gz, and .tar.bz2). EXTRACT_USING_PAX can be set as before. For custom extractions, instead of using EXTRACT_BEFORE_ARGS, EXTRACT_AFTER_ARGS and EXTRACT_CMD, simply set EXTRACT_CMD to be the command needed to decompress and extract the lements from the archive. ${DOWNLOADED_DISTFILE} can be used to reference the distfile(s). e.g. for compressed shars, where previously there was: EXTRACT_CMD= ${GZCAT} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= |sh now use: EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
Diffstat (limited to 'textproc')
-rw-r--r--textproc/texi2html/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/texi2html/Makefile b/textproc/texi2html/Makefile
index a370686ceee..852a27aa1bc 100644
--- a/textproc/texi2html/Makefile
+++ b/textproc/texi2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1998/08/20 15:17:29 tsarna Exp $
+# $NetBSD: Makefile,v 1.6 1999/04/01 14:07:56 agc Exp $
#
DISTNAME= texi2html
@@ -12,9 +12,7 @@ HOMEPAGE= http://wwwcn1.cern.ch/dci/texi2html/
USE_PERL5= YES
-EXTRACT_CMD= ${GZCAT}
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= |sh
+EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
NO_WRKSUBDIR= yes
NO_CONFIGURE= yes