Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 04/01/1999 06:07:56
Module Name:	pkgsrc
Committed By:	agc
Date:		Thu Apr  1 14:07:56 UTC 1999

Modified Files:
	pkgsrc/archivers/macutil: Makefile
	pkgsrc/archivers/rar: Makefile
	pkgsrc/archivers/zip1: Makefile
	pkgsrc/benchmarks/hint: Makefile
	pkgsrc/benchmarks/paranoia: Makefile
	pkgsrc/benchmarks/whetstone: Makefile
	pkgsrc/comms/binkd: Makefile
	pkgsrc/cross/binutils: Makefile
	pkgsrc/databases/p5-gdbm: Makefile
	pkgsrc/databases/py-gdbm: Makefile
	pkgsrc/devel/rdp: Makefile
	pkgsrc/games/svb: Makefile
	pkgsrc/games/xdoom: Makefile
	pkgsrc/lang/py-html-docs: Makefile
	pkgsrc/misc/py-readline: Makefile
	pkgsrc/mk: bsd.pkg.mk
	pkgsrc/plan9/9menu: Makefile
	pkgsrc/plan9/9wm: Makefile
	pkgsrc/plan9/sam: Makefile
	pkgsrc/sysutils/crashme: Makefile
	pkgsrc/sysutils/lsof: Makefile
	pkgsrc/textproc/texi2html: Makefile
	pkgsrc/www/p5-CGI_Lite: Makefile
	pkgsrc/x11/xview-clients: Makefile
	pkgsrc/x11/xview-config: Makefile
Log Message:
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}