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 /databases | |
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 'databases')
-rw-r--r-- | databases/p5-gdbm/Makefile | 4 | ||||
-rw-r--r-- | databases/py-gdbm/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/databases/p5-gdbm/Makefile b/databases/p5-gdbm/Makefile index 56763b0d1c8..d30883deb6c 100644 --- a/databases/p5-gdbm/Makefile +++ b/databases/p5-gdbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/03/03 00:06:53 kim Exp $ +# $NetBSD: Makefile,v 1.2 1999/04/01 14:07:53 agc Exp $ DISTNAME= perl5.004_04 PKGNAME= p5-gdbm-5.4.4 @@ -11,7 +11,7 @@ MAINTAINER= packages@netbsd.org USE_PERL5= YES DEPENDS+= gdbm-1.7.3:../../databases/gdbm -EXTRACT_AFTER_ARGS= perl5.004_04/ext/GDBM_File +EXTRACT_ELEMENTS= perl5.004_04/ext/GDBM_File WRKSRC= ${WRKDIR}/${EXTRACT_AFTER_ARGS} do-configure: diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile index d1c06126678..0cf03bf3066 100644 --- a/databases/py-gdbm/Makefile +++ b/databases/py-gdbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 1998/12/18 00:42:39 tsarna Exp $ +# $NetBSD: Makefile,v 1.8 1999/04/01 14:07:53 agc Exp $ # DISTNAME= pyth151 @@ -18,7 +18,7 @@ DIST_SUBDIR= python ALL_TARGET= default -EXTRACT_AFTER_ARGS= Python-1.5.1/Modules/gdbmmodule.c +EXTRACT_ELEMENTS= Python-1.5.1/Modules/gdbmmodule.c PYTHON_CONFIGDIR= ${LOCALBASE}/lib/python1.5/config/ |