summaryrefslogtreecommitdiff
path: root/www/p5-CGI_Lite
diff options
context:
space:
mode:
authoragc <agc>1999-04-01 14:07:52 +0000
committeragc <agc>1999-04-01 14:07:52 +0000
commit9a7c454ba681cc22753b8d4c26f74b2e0fed2ae3 (patch)
tree912abdad11a5164aee0a40a8b94b48bf6cea9e79 /www/p5-CGI_Lite
parent60da1ece312a07574750a2c97a062f550fa84256 (diff)
downloadpkgsrc-9a7c454ba681cc22753b8d4c26f74b2e0fed2ae3.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/p5-CGI_Lite')
-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