summaryrefslogtreecommitdiff
path: root/games/quake3arena
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-08-31 22:32:30 +0000
committerxtraeme <xtraeme>2003-08-31 22:32:30 +0000
commitc9f3e0ea5475ec066c80345635f5b9955f6a24bb (patch)
treed3133814b7f3feebbfa1c086f5cb74a256be6266 /games/quake3arena
parent569b874c848796b60237e5047ae468f2432f5a98 (diff)
downloadpkgsrc-c9f3e0ea5475ec066c80345635f5b9955f6a24bb.tar.gz
Updated quake3arena to 1.32b and give support to Linux, patch provided
by Soren Jacobsen in PR pkg/22427. Ok'ed by wiz@
Diffstat (limited to 'games/quake3arena')
-rw-r--r--games/quake3arena/Makefile43
-rw-r--r--games/quake3arena/PLIST14
-rw-r--r--games/quake3arena/distinfo6
3 files changed, 29 insertions, 34 deletions
diff --git a/games/quake3arena/Makefile b/games/quake3arena/Makefile
index 282726d842f..a3bf9da98c4 100644
--- a/games/quake3arena/Makefile
+++ b/games/quake3arena/Makefile
@@ -1,30 +1,35 @@
-# $NetBSD: Makefile,v 1.12 2003/04/10 01:28:18 grant Exp $
+# $NetBSD: Makefile,v 1.13 2003/08/31 22:32:30 xtraeme Exp $
-DISTNAME= linuxq3apoint-1.17.x86
-PKGNAME= quake3arena-1.17
+DISTNAME= linuxq3apoint-1.32b.x86
+PKGNAME= quake3arena-1.32b
WRKSRC= ${WRKDIR}
CATEGORIES= games x11
-MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/quake3/linux/old/ \
- ftp://ftp.uni-klu.ac.at/pub/linux/games/quake3/ \
- ftp://ftp.mirrors.degnet.de/pub/misc/idsoftware/quake3/linux/old/
+MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/quake3/linux/ \
+ ftp://mirrors.xmission.com/idsoftware/quake3/linux/
EXTRACT_SUFX= .run
MAINTAINER= jmcneill@invisible.yi.org
HOMEPAGE= http://www.quake3arena.com/
COMMENT= Quake 3 Arena -- first person shooter (binary only, no data files)
+CONFLICTS= quake3arena-demo-[0-9]*
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != Linux
DEPENDS+= suse_base>=6.3:../../emulators/${SUSE_DIR_PREFIX}_base
DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
DEPENDS+= suse_glx>=6.4:../../emulators/${SUSE_DIR_PREFIX}_glx
-
-CONFLICTS= quake3arena-demo-[0-9]*
+.include "../../emulators/suse_linux/Makefile.application"
+.else
+USE_X11= yes
+.include "../../graphics/MesaLib/buildlink2.mk"
+.endif
NO_SRC_ON_FTP= no
NO_BIN_ON_FTP= no
-
NO_CONFIGURE= yes
-EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \
- ${GTAR} xzf -
+EXTRACT_CMD= ${SED} '1,265d' ${DOWNLOADED_DISTFILE} | ${GTAR} xzf -
.if !make(fetch)
ONLY_FOR_PLATFORM=*-*-i386
@@ -47,19 +52,11 @@ do-install:
${INSTALL_PROGRAM_DIR} ${LIBDIR}
${INSTALL_DATA_DIR} ${SHAREDIR}
${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${BINNAME}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/glibc-2.1/${DISTBINNAME} \
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/${DISTBINNAME} \
${LIBDIR}/${BINNAME}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/glibc-2.1/q3ded ${LIBDIR}
- ${INSTALL_DATA} ${WRKSRC}/bin/x86/glibc-2.1/libMesaVoodooGL.so.3.2 \
- ${LIBDIR}
- ${LN} -s ${LIBDIR}/libMesaVoodooGL.so.3.2 \
- ${LIBDIR}/libMesaVoodooGL.so.3
- ${LN} -s ${LIBDIR}/libMesaVoodooGL.so.3.2 \
- ${LIBDIR}/libMesaVoodooGL.so
- ${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/q3ded ${LIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README-linux.txt ${SHAREDIR}/${BINNAME}-README
+
cd ${WRKSRC} && ${PAX} -rw baseq3 ${LIBDIR}
- cd ${WRKSRC} && ${PAX} -rw Help ${SHAREDIR}
- ${MV} ${SHAREDIR}/Help ${SHAREDIR}/quake3arena-Help
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/quake3arena/PLIST b/games/quake3arena/PLIST
index 40215348a9e..b0db05975a0 100644
--- a/games/quake3arena/PLIST
+++ b/games/quake3arena/PLIST
@@ -1,18 +1,16 @@
-@comment $NetBSD: PLIST,v 1.3 2002/12/09 16:01:26 tron Exp $
+@comment $NetBSD: PLIST,v 1.4 2003/08/31 22:32:30 xtraeme Exp $
bin/quake3arena
-lib/lokigames/quake3arena/libMesaVoodooGL.so
-lib/lokigames/quake3arena/libMesaVoodooGL.so.3
-lib/lokigames/quake3arena/libMesaVoodooGL.so.3.2
lib/lokigames/quake3arena/q3ded
lib/lokigames/quake3arena/quake3arena
lib/lokigames/quake3arena/baseq3/pak1.pk3
lib/lokigames/quake3arena/baseq3/pak2.pk3
lib/lokigames/quake3arena/baseq3/pak3.pk3
-share/doc/lokigames/quake3arena-Help/Q3A_EULA.html
-share/doc/lokigames/quake3arena-Help/Q3A_EULA.txt
-share/doc/lokigames/quake3arena-Help/Q3A_FAQ.html
+lib/lokigames/quake3arena/baseq3/pak4.pk3
+lib/lokigames/quake3arena/baseq3/pak5.pk3
+lib/lokigames/quake3arena/baseq3/pak6.pk3
+lib/lokigames/quake3arena/baseq3/pak7.pk3
+lib/lokigames/quake3arena/baseq3/pak8.pk3
share/doc/lokigames/quake3arena-README
-@dirrm share/doc/lokigames/quake3arena-Help
@unexec ${RMDIR} -p %D/share/doc/lokigames 2>/dev/null || ${TRUE}
@comment next dir not necessarily empty, since the game data file could
@comment be there
diff --git a/games/quake3arena/distinfo b/games/quake3arena/distinfo
index 58ac2613ccf..e033dc50a94 100644
--- a/games/quake3arena/distinfo
+++ b/games/quake3arena/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 02:08:34 wiz Exp $
+$NetBSD: distinfo,v 1.3 2003/08/31 22:32:30 xtraeme Exp $
-SHA1 (linuxq3apoint-1.17.x86.run) = b0dcf5c12621d15c6a417cb1e1dc4e6da4aa8801
-Size (linuxq3apoint-1.17.x86.run) = 9845235 bytes
+SHA1 (linuxq3apoint-1.32b.x86.run) = df0616a0fc113686deebe003f419a6a77caaf0d1
+Size (linuxq3apoint-1.32b.x86.run) = 31478345 bytes