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} --- x11/xview-clients/Makefile | 4 ++-- x11/xview-config/Makefile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'x11') diff --git a/x11/xview-clients/Makefile b/x11/xview-clients/Makefile index b34745c670a..dfefcd1397e 100644 --- a/x11/xview-clients/Makefile +++ b/x11/xview-clients/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/07/06 22:19:58 tron Exp $ +# $NetBSD: Makefile,v 1.4 1999/04/01 14:07:56 agc Exp $ # $FreeBSD Id: Makefile,v 1.11 1996/11/16 10:49:52 asami Exp # @@ -12,7 +12,7 @@ MAINTAINER= packages@netbsd.org DEPENDS= xview-lib-3.2.1:../../x11/xview-lib MIRROR_DISTFILE= no -EXTRACT_AFTER_ARGS= xview3.2p1-X11R6/clients xview3.2p1-X11R6/images +EXTRACT_ELEMENTS= xview3.2p1-X11R6/clients xview3.2p1-X11R6/images WRKSRC= ${WRKDIR}/xview3.2p1-X11R6/clients USE_IMAKE= yes diff --git a/x11/xview-config/Makefile b/x11/xview-config/Makefile index 48267065c5d..5f48ef9b7c6 100644 --- a/x11/xview-config/Makefile +++ b/x11/xview-config/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/07/03 23:30:10 tron Exp $ +# $NetBSD: Makefile,v 1.4 1999/04/01 14:07:56 agc Exp $ # $FreeBSD Id: Makefile,v 1.9 1998/05/04 03:34:50 steve Exp # @@ -10,8 +10,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MAINTAINER= packages@netbsd.org MIRROR_DISTFILE= no -EXTRACT_AFTER_ARGS= xview3.2p1-X11R6/config -WRKSRC= ${WRKDIR}/${EXTRACT_AFTER_ARGS} +EXTRACT_ELEMENTS= xview3.2p1-X11R6/config +WRKSRC= ${WRKDIR}/${EXTRACT_ELEMENTS} USE_IMAKE= yes NO_BUILD= yes -- cgit v1.2.3