diff options
author | agc <agc@pkgsrc.org> | 1999-04-01 14:07:52 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-04-01 14:07:52 +0000 |
commit | 171e025b4a914da362b163a5c1b35de5704d732e (patch) | |
tree | 912abdad11a5164aee0a40a8b94b48bf6cea9e79 /benchmarks | |
parent | cedce5937a71dab5e09821f072c8b4714d70b6d2 (diff) | |
download | pkgsrc-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 'benchmarks')
-rw-r--r-- | benchmarks/hint/Makefile | 4 | ||||
-rw-r--r-- | benchmarks/paranoia/Makefile | 6 | ||||
-rw-r--r-- | benchmarks/whetstone/Makefile | 6 |
3 files changed, 6 insertions, 10 deletions
diff --git a/benchmarks/hint/Makefile b/benchmarks/hint/Makefile index 1d8edb7bcbb..e41b0594e69 100644 --- a/benchmarks/hint/Makefile +++ b/benchmarks/hint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 1999/02/10 18:49:17 explorer Exp $ +# $NetBSD: Makefile,v 1.7 1999/04/01 14:07:52 agc Exp $ # FreeBSD: Makefile,v 1.1.1.1 1998/06/15 18:09:43 ghelmer Exp # @@ -11,7 +11,7 @@ EXTRACT_SUFX= .tar MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.scl.ameslab.gov/Projects/HINT/ -EXTRACT_BEFORE_ARGS=-xf +EXTRACT_CMD= ${GTAR} -xf ${DOWNLOADED_DISTFILE} WRKSRC= ${WRKDIR}/unix ALL_TARGET= DOUBLE INT diff --git a/benchmarks/paranoia/Makefile b/benchmarks/paranoia/Makefile index efa859406dd..8e19cb3ac64 100644 --- a/benchmarks/paranoia/Makefile +++ b/benchmarks/paranoia/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1999/03/16 08:53:43 agc Exp $ +# $NetBSD: Makefile,v 1.6 1999/04/01 14:07:53 agc Exp $ DISTNAME= paranoia PKGNAME= paranoia-960101 @@ -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} -ffloat-store -o paranoia paranoia.c -lm) 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) |