diff options
author | agc <agc> | 1999-04-01 14:07:52 +0000 |
---|---|---|
committer | agc <agc> | 1999-04-01 14:07:52 +0000 |
commit | 9a7c454ba681cc22753b8d4c26f74b2e0fed2ae3 (patch) | |
tree | 912abdad11a5164aee0a40a8b94b48bf6cea9e79 /devel | |
parent | 60da1ece312a07574750a2c97a062f550fa84256 (diff) | |
download | pkgsrc-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 'devel')
-rw-r--r-- | devel/rdp/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/devel/rdp/Makefile b/devel/rdp/Makefile index 9c45c26ee79..1728c03f491 100644 --- a/devel/rdp/Makefile +++ b/devel/rdp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/08/20 15:16:50 tsarna Exp $ +# $NetBSD: Makefile,v 1.4 1999/04/01 14:07:53 agc Exp $ DISTNAME= rdp1_5 PKGNAME= rdp-1.5 @@ -11,8 +11,7 @@ HOMEPAGE= http://www.dcs.rhbnc.ac.uk/research/languages/rdp.shtml BUILD_DEPENDS= unzip:../../archivers/unzip -EXTRACT_CMD= unzip -EXTRACT_BEFORE_ARGS= -Laqo +EXTRACT_CMD= unzip -Laqo ${DOWNLOADED_DISTFILE} WRKSRC= ${WRKDIR}/rdp MAKEFILE= makefile |