summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoragc <agc>1999-04-01 14:07:52 +0000
committeragc <agc>1999-04-01 14:07:52 +0000
commit9a7c454ba681cc22753b8d4c26f74b2e0fed2ae3 (patch)
tree912abdad11a5164aee0a40a8b94b48bf6cea9e79 /x11
parent60da1ece312a07574750a2c97a062f550fa84256 (diff)
downloadpkgsrc-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 'x11')
-rw-r--r--x11/xview-clients/Makefile4
-rw-r--r--x11/xview-config/Makefile6
2 files changed, 5 insertions, 5 deletions
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