summaryrefslogtreecommitdiff
path: root/games/quake3arena
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake3arena')
-rw-r--r--games/quake3arena/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/quake3arena/Makefile b/games/quake3arena/Makefile
index 02444941f0a..49b32ef1edc 100644
--- a/games/quake3arena/Makefile
+++ b/games/quake3arena/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2005/12/12 14:43:25 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2006/01/14 03:22:51 jlam Exp $
DISTNAME= linuxq3apoint-1.32b.x86
PKGREVISION= 1
@@ -27,9 +27,12 @@ NO_BIN_ON_FTP= no
NO_CONFIGURE= yes
CHECK_SHLIBS= NO
-USE_TOOLS+= gtar
+USE_TOOLS+= gtar gunzip tail
-EXTRACT_CMD= ${SED} '1,265d' ${DOWNLOADED_DISTFILE} | ${GTAR} xzf -
+# The distfile is a self-extracting shell script. "266" is a magic
+# number that's taken from the distfile itself.
+#
+EXTRACT_CMD= tail +266 ${DOWNLOADED_DISTFILE} | gunzip | gtar -xf -
.if !make(fetch)
ONLY_FOR_PLATFORM=*-*-i386