diff options
author | agc <agc> | 1999-04-01 14:07:52 +0000 |
---|---|---|
committer | agc <agc> | 1999-04-01 14:07:52 +0000 |
commit | 0e80196c5fa544a8f2ac9cb799fbe25948361831 (patch) | |
tree | 912abdad11a5164aee0a40a8b94b48bf6cea9e79 /benchmarks/whetstone | |
parent | 131321b966a315123f6c845f7317d4277e5363a2 (diff) | |
download | pkgsrc-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 'benchmarks/whetstone')
-rw-r--r-- | benchmarks/whetstone/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/benchmarks/whetstone/Makefile b/benchmarks/whetstone/Makefile index b0a72c34133..57a69fdf28a 100644 --- a/benchmarks/whetstone/Makefile +++ b/benchmarks/whetstone/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1999/03/16 09:02:27 agc Exp $ +# $NetBSD: Makefile,v 1.6 1999/04/01 14:07:53 agc Exp $ DISTNAME= whetstone PKGNAME= whetstone-1.2 @@ -9,9 +9,7 @@ EXTRACT_SUFX= .c MAINTAINER= root@garbled.net NO_WRKSUBDIR= yes -EXTRACT_CMD= ${CP} -EXTRACT_BEFORE_ARGS= #empty -EXTRACT_AFTER_ARGS= ${WRKSRC} +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC} do-build: (cd ${WRKSRC} ; ${CC} -O2 -o whetstone whetstone.c -lm) |