summaryrefslogtreecommitdiff
path: root/games/quake3server
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/quake3server
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/quake3server')
-rw-r--r--games/quake3server/Makefile9
1 files changed, 8 insertions, 1 deletions
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: