From 171e025b4a914da362b163a5c1b35de5704d732e Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 1 Apr 1999 14:07:52 +0000 Subject: 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} --- plan9/9wm/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plan9/9wm') diff --git a/plan9/9wm/Makefile b/plan9/9wm/Makefile index eb8cd5a881f..bd6943a68c3 100644 --- a/plan9/9wm/Makefile +++ b/plan9/9wm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 1998/08/20 15:17:23 tsarna Exp $ +# $NetBSD: Makefile,v 1.10 1999/04/01 14:07:55 agc Exp $ # FreeBSD Id: Makefile,v 1.4 1997/05/28 06:18:20 fenner Exp # @@ -11,9 +11,7 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://dhog.g7.org/dhog/9wm.html NO_WRKSUBDIR= yes -EXTRACT_CMD= zcat -EXTRACT_BEFORE_ARGS= -EXTRACT_AFTER_ARGS= |sh +EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH} USE_IMAKE= yes .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3