summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoragc <agc>1999-04-01 14:07:52 +0000
committeragc <agc>1999-04-01 14:07:52 +0000
commit0e80196c5fa544a8f2ac9cb799fbe25948361831 (patch)
tree912abdad11a5164aee0a40a8b94b48bf6cea9e79 /www
parent131321b966a315123f6c845f7317d4277e5363a2 (diff)
downloadpkgsrc-0e80196c5fa544a8f2ac9cb799fbe25948361831.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 'www')
-rw-r--r--www/p5-CGI_Lite/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/p5-CGI_Lite/Makefile b/www/p5-CGI_Lite/Makefile
index 072fa327cb2..19b8aeb9245 100644
--- a/www/p5-CGI_Lite/Makefile
+++ b/www/p5-CGI_Lite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/11/26 17:57:03 bad Exp $
+# $NetBSD: Makefile,v 1.2 1999/04/01 14:07:56 agc Exp $
#
DISTNAME= CGI_Lite-1.62.pm
@@ -13,9 +13,7 @@ MAINTAINER= bad@netbsd.org
USE_PERL5= YES
-EXTRACT_CMD= ${GZIP_CMD}
-EXTRACT_BEFORE_ARGS= -dc
-EXTRACT_AFTER_ARGS= >CGI_Lite.pm
+EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} > CGI_Lite.pm
pre-configure:
${CP} ${FILESDIR}/Makefile.PL ${WRKDIR}/Makefile.PL