pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games Fix extracting quake3arena-demo and quake3server...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8fe06d72a10d
branches: trunk
changeset: 555830:8fe06d72a10d
user: hasso <hasso%pkgsrc.org@localhost>
date: Tue Mar 10 07:21:53 2009 +0000
description:
Fix extracting quake3arena-demo and quake3server on DragonFly the same way
as already done for heretic2-demo. Clarify the comment.
diffstat:
games/heretic2-demo/Makefile | 5 +++--
games/quake3arena-demo/Makefile | 9 ++++++++-
games/quake3server/Makefile | 9 ++++++++-
3 files changed, 19 insertions(+), 4 deletions(-)
diffs (65 lines):
diff -r 50055a9be802 -r 8fe06d72a10d games/heretic2-demo/Makefile
--- a/games/heretic2-demo/Makefile Tue Mar 10 05:24:35 2009 +0000
+++ b/games/heretic2-demo/Makefile Tue Mar 10 07:21:53 2009 +0000
@@ -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 @@
.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 -r 50055a9be802 -r 8fe06d72a10d games/quake3arena-demo/Makefile
--- a/games/quake3arena-demo/Makefile Tue Mar 10 05:24:35 2009 +0000
+++ b/games/quake3arena-demo/Makefile Tue Mar 10 07:21:53 2009 +0000
@@ -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 @@
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 -r 50055a9be802 -r 8fe06d72a10d games/quake3server/Makefile
--- a/games/quake3server/Makefile Tue Mar 10 05:24:35 2009 +0000
+++ b/games/quake3server/Makefile Tue Mar 10 07:21:53 2009 +0000
@@ -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 @@
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:
Home |
Main Index |
Thread Index |
Old Index