summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjlam <jlam>2006-01-21 18:57:40 +0000
committerjlam <jlam>2006-01-21 18:57:40 +0000
commit68e275d406913f1ae5e37c37ce004880df826458 (patch)
tree505836e71024eea9e19676a0f20b017dda96b7a3 /games
parent04641e80e417f21412d018141babfd7f258ccc2e (diff)
downloadpkgsrc-68e275d406913f1ae5e37c37ce004880df826458.tar.gz
Update package Makefile now that bsd.pkg.extract.mk is using the
"extract" script for extraction. Many cases where a custom EXTRACT_CMD simply copied the distfile into the work directory are no longer needed. The extract script also hides differences between pax and tar behind a common command-line interface, so we no longer need code that's conditional on whether EXTRACT_USING is tar or pax.
Diffstat (limited to 'games')
-rw-r--r--games/falcons-eye/Makefile4
-rw-r--r--games/quakedata/Makefile6
-rw-r--r--games/xdoom/Makefile7
3 files changed, 10 insertions, 7 deletions
diff --git a/games/falcons-eye/Makefile b/games/falcons-eye/Makefile
index 7ac2ddd2976..7c8847b0b3b 100644
--- a/games/falcons-eye/Makefile
+++ b/games/falcons-eye/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2005/12/11 09:40:41 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2006/01/21 18:57:41 jlam Exp $
#
DISTNAME= nethack_source_331_jtp_193
@@ -12,7 +12,7 @@ MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://falconseye.sourceforge.net/
COMMENT= Falcon's Eye NetHack
-EXTRACT_CMD= unzip -aq ${DOWNLOADED_DISTFILE}
+EXTRACT_OPTS_ZIP= -aq
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
DIST_SUBDIR= ${PKGNAME_NOREV}-20050216-2
diff --git a/games/quakedata/Makefile b/games/quakedata/Makefile
index a85fd05e36a..dd573333fe8 100644
--- a/games/quakedata/Makefile
+++ b/games/quakedata/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/07/19 15:30:15 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2006/01/21 18:57:41 jlam Exp $
DISTNAME= quake106
PKGNAME= quakedata-1.0
@@ -19,8 +19,10 @@ NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
+EXTRACT_ELEMENTS= resource.*
+EXTRACT_OPTS_ZIP= -qo
+
WRKSRC= ${WRKDIR}
-EXTRACT_CMD= unzip -q -o ${DOWNLOADED_DISTFILE} -d ${WRKDIR} resource.*
NO_BUILD= YES
post-extract:
diff --git a/games/xdoom/Makefile b/games/xdoom/Makefile
index f06b7f7c1c1..5c1a7f16701 100644
--- a/games/xdoom/Makefile
+++ b/games/xdoom/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2005/12/05 20:50:18 rillig Exp $
+# $NetBSD: Makefile,v 1.36 2006/01/21 18:57:41 jlam Exp $
DISTNAME= linuxdoom-1.10
PKGNAME= xdoom-1.10
@@ -16,9 +16,10 @@ BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip
LICENSE= xdoom-license
+EXTRACT_ONLY= doomsrc.zip
+EXTRACT_OPTX_ZIP= -qo
+
WRKSRC= ${WRKDIR}
-EXTRACT_ONLY= doomsrc.zip
-EXTRACT_CMD= unzip -qo ${DISTDIR}/${EXTRACT_ONLY}
USE_X11BASE= yes
USE_TOOLS+= gmake gunzip
MAKE_ENV+= X11BASE=${X11BASE:Q} INSTALL_PREFIX=${PREFIX:Q}