summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-03-10 07:21:53 +0000
committerhasso <hasso@pkgsrc.org>2009-03-10 07:21:53 +0000
commita1ec5fe058a499971365943d4162729f121a62f0 (patch)
treebdd3c8bf02c2f8f71dbd962a3be4e32e889ef0a3 /games
parent2b23ac1fa30614ca37ba60c7f97c9def11c4ba95 (diff)
downloadpkgsrc-a1ec5fe058a499971365943d4162729f121a62f0.tar.gz
Fix extracting quake3arena-demo and quake3server on DragonFly the same way
as already done for heretic2-demo. Clarify the comment.
Diffstat (limited to 'games')
-rw-r--r--games/heretic2-demo/Makefile5
-rw-r--r--games/quake3arena-demo/Makefile9
-rw-r--r--games/quake3server/Makefile9
3 files changed, 19 insertions, 4 deletions
diff --git a/games/heretic2-demo/Makefile b/games/heretic2-demo/Makefile
index 5a6390d906b..f2bee9b1984 100644
--- a/games/heretic2-demo/Makefile
+++ b/games/heretic2-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2009/02/18 10:56:55 abs Exp $
+# $NetBSD: Makefile,v 1.21 2009/03/10 07:21:53 hasso Exp $
#
DISTNAME= heretic2-demo-x86
@@ -24,7 +24,8 @@ USE_TOOLS+= gtar pax
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly"
-# system gzip doesn't like the file, but zlib does.
+# DragonFly sed(1) adds trailing newline and it confuses gzip(1). Bsdtar,
+# which doesn't use gzip but zlib, extracts the archive fine though.
TOOLS_PLATFORM.gtar= /usr/bin/bsdtar
.endif
diff --git a/games/quake3arena-demo/Makefile b/games/quake3arena-demo/Makefile
index 53394633f45..f39f6700ccc 100644
--- a/games/quake3arena-demo/Makefile
+++ b/games/quake3arena-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2008/05/26 02:13:19 joerg Exp $
+# $NetBSD: Makefile,v 1.35 2009/03/10 07:21:53 hasso Exp $
DISTNAME= linuxq3ademo-1_11-6_x86_gz
PKGREVISION= 3
@@ -23,6 +23,13 @@ USE_TOOLS+= gtar pax
EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \
${GTAR} xzf -
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "DragonFly"
+# DragonFly sed(1) adds trailing newline and it confuses gzip(1). Bsdtar,
+# which doesn't use gzip but zlib, extracts the archive fine though.
+TOOLS_PLATFORM.gtar= /usr/bin/bsdtar
+.endif
+
DISTBINNAME= q3demo
BINNAME= quake3arena-demo
diff --git a/games/quake3server/Makefile b/games/quake3server/Makefile
index 802a8aca1d8..8f0da9c49e3 100644
--- a/games/quake3server/Makefile
+++ b/games/quake3server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/05/20 20:27:00 tnn Exp $
+# $NetBSD: Makefile,v 1.13 2009/03/10 07:21:53 hasso Exp $
DISTNAME= linuxq3apoint-1.32b.x86
PKGNAME= quake3server-1.32b
@@ -23,6 +23,13 @@ WRKSRC= ${WRKDIR}
BASEDOCDIR= ${PREFIX}/share/doc/lokigames/quake3server
RCD_SCRIPTS= quake3server
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "DragonFly"
+# DragonFly sed(1) adds trailing newline and it confuses gzip(1). Bsdtar,
+# which doesn't use gzip but zlib, extracts the archive fine though.
+TOOLS_PLATFORM.gtar= /usr/bin/bsdtar
+.endif
+
SPECIAL_PERMS+= ${Q3ROOTDIR}/q3ded nobody nogroup 0500
do-install: