summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-04-01 14:07:52 +0000
committeragc <agc@pkgsrc.org>1999-04-01 14:07:52 +0000
commit171e025b4a914da362b163a5c1b35de5704d732e (patch)
tree912abdad11a5164aee0a40a8b94b48bf6cea9e79 /games
parentcedce5937a71dab5e09821f072c8b4714d70b6d2 (diff)
downloadpkgsrc-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 'games')
-rw-r--r--games/svb/Makefile6
-rw-r--r--games/xdoom/Makefile5
2 files changed, 4 insertions, 7 deletions
diff --git a/games/svb/Makefile b/games/svb/Makefile
index 27347d6e200..0835268725d 100644
--- a/games/svb/Makefile
+++ b/games/svb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 1998/09/07 03:23:09 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1999/04/01 14:07:53 agc Exp $
DISTNAME= svb
PKGNAME= svb-1.0
@@ -10,9 +10,7 @@ MAINTAINER= root@garbled.net
USE_IMAKE= yes
NO_WRKSUBDIR= yes
-EXTRACT_CMD= zcat
-EXTRACT_BEFORE_ARGS= #empty
-EXTRACT_AFTER_ARGS= |sh
+EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
NO_INSTALL_MANPAGES= yes
post-install:
diff --git a/games/xdoom/Makefile b/games/xdoom/Makefile
index 242b5ed74f5..d61270deeac 100644
--- a/games/xdoom/Makefile
+++ b/games/xdoom/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1999/01/30 23:18:49 agc Exp $
+# $NetBSD: Makefile,v 1.8 1999/04/01 14:07:54 agc Exp $
DISTNAME= linuxdoom-1.10
PKGNAME= xdoom-1.10
@@ -15,9 +15,8 @@ BUILD_DEPENDS= unzip:../../archivers/unzip
LICENSE= shareware
-EXTRACT_CMD= unzip
-EXTRACT_BEFORE_ARGS= -qo
EXTRACT_ONLY= doomsrc.zip
+EXTRACT_CMD= unzip -qo ${EXTRACT_ONLY}
USE_X11BASE= yes
USE_GMAKE= yes