diff options
Diffstat (limited to 'games/quake3arena')
-rw-r--r-- | games/quake3arena/Makefile | 58 | ||||
-rw-r--r-- | games/quake3arena/files/md5 | 3 | ||||
-rw-r--r-- | games/quake3arena/files/wrapper.sh | 10 | ||||
-rw-r--r-- | games/quake3arena/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/quake3arena/pkg/DESCR | 12 | ||||
-rw-r--r-- | games/quake3arena/pkg/MESSAGE | 3 | ||||
-rw-r--r-- | games/quake3arena/pkg/PLIST | 17 |
7 files changed, 104 insertions, 0 deletions
diff --git a/games/quake3arena/Makefile b/games/quake3arena/Makefile new file mode 100644 index 00000000000..4c973f946d4 --- /dev/null +++ b/games/quake3arena/Makefile @@ -0,0 +1,58 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/13 23:58:32 wiz Exp $ +# + +DISTNAME= linuxq3apoint-1.17.x86 +PKGNAME= quake3arena-1.17 +CATEGORIES= games x11 +MASTER_SITES= ftp://mirrors.aol.com/pub/pc_games/doom/idstuff/quake3/linux/ +EXTRACT_SUFX= .run + +MAINTAINER= jmcneill@invisible.yi.org +HOMEPAGE= http://www.quake3arena.com/ + +DEPENDS+= suse_base>=6.3:../../emulators/suse_base +DEPENDS+= suse_x11>=6.3:../../emulators/suse_x11 +DEPENDS+= suse_glx-6.4:../../emulators/suse_glx + +CONFLICTS= quake3arena-demo-* + +NO_SRC_ON_FTP= no +NO_BIN_ON_FTP= no + +NO_CONFIGURE= yes +NO_WRKSUBDIR= yes +EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \ + ${GTAR} xzf - + +.if !make(fetch) +ONLY_FOR_PLATFORM=*-*-i386 +.endif + +DISTBINNAME= quake3.x86 +BINNAME= quake3arena + +LIBDIR= ${PREFIX}/lib/lokigames/${BINNAME} +SHAREDIR= ${PREFIX}/share/doc/lokigames + +do-build: + ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ + -e 's#@@LIBDIR@@#${LIBDIR}#g' \ + -e 's#@@BINNAME@@#${BINNAME}#g' \ + <${FILESDIR}/wrapper.sh >${WRKDIR}/${BINNAME}.sh + +# The executable must be in the same directory as the data. +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} \ + ${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} + ${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README + cd ${WRKSRC} ; ${PAX} -rw baseq3 ${LIBDIR} + cd ${WRKSRC} ; ${PAX} -rw Help ${SHAREDIR} + ${MV} ${SHAREDIR}/Help ${SHAREDIR}/quake3arena-Help + +.include "../../mk/bsd.pkg.mk" diff --git a/games/quake3arena/files/md5 b/games/quake3arena/files/md5 new file mode 100644 index 00000000000..7a13aaa34bd --- /dev/null +++ b/games/quake3arena/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/13 23:58:32 wiz Exp $ + +MD5 (linuxq3apoint-1.17.x86.run) = d099a07e91cea00ba4f9c38bae1eb4d0 diff --git a/games/quake3arena/files/wrapper.sh b/games/quake3arena/files/wrapper.sh new file mode 100644 index 00000000000..05fa0c78398 --- /dev/null +++ b/games/quake3arena/files/wrapper.sh @@ -0,0 +1,10 @@ +#!/bin/sh -e +# $NetBSD: wrapper.sh,v 1.1.1.1 2000/12/13 23:58:32 wiz Exp $ +# Simple wrapper for lokigames @@BINNAME@@ + +# linux binary calls mkdir for this with a trailing '/' +if [ ! -d $HOME/.loki ];then + mkdir $HOME/.loki +fi +cd @@LIBDIR@@ +exec ./@@BINNAME@@ $@ diff --git a/games/quake3arena/pkg/COMMENT b/games/quake3arena/pkg/COMMENT new file mode 100644 index 00000000000..3491e5f0a5f --- /dev/null +++ b/games/quake3arena/pkg/COMMENT @@ -0,0 +1 @@ +Quake 3 Arena -- first person shooter (binary only, no data files) diff --git a/games/quake3arena/pkg/DESCR b/games/quake3arena/pkg/DESCR new file mode 100644 index 00000000000..139145cc26f --- /dev/null +++ b/games/quake3arena/pkg/DESCR @@ -0,0 +1,12 @@ +Quake III Arena, developed by the gaming wizards at id Software, is +the third installment of one of the most popular computer game +franchises of all time. Organic caverns, gothic cathedrals and +futuristic spacescapes play host to Quake III Arena's unrivaled blend +of action, strategy and jaw-dropping technology as Linux gamers are +invited to square off against 32 of history's greatest warriors. Built +around a revolutionary new graphics engine capable of delivering mind +blowing 3D special effects including curved surfaces and volumetric +fog, Quake III Arena is the final word in deathmatching mayhem. + +This is the binary only for the full version - the data files are not +included. diff --git a/games/quake3arena/pkg/MESSAGE b/games/quake3arena/pkg/MESSAGE new file mode 100644 index 00000000000..f8935b13e8f --- /dev/null +++ b/games/quake3arena/pkg/MESSAGE @@ -0,0 +1,3 @@ +To run Quake 3, you must place the file 'pak0.pk3' from your Quake 3 CD into: + + ${LOCALBASE}/lokigames/quake3arena/baseq3/ diff --git a/games/quake3arena/pkg/PLIST b/games/quake3arena/pkg/PLIST new file mode 100644 index 00000000000..9f489a72a54 --- /dev/null +++ b/games/quake3arena/pkg/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/13 23:58:32 wiz Exp $ +bin/quake3arena +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 +share/doc/lokigames/quake3arena-README +@dirrm share/doc/lokigames/quake3arena-Help +@dirrm share/doc/lokigames +@dirrm lib/lokigames/quake3arena/baseq3 +@dirrm lib/lokigames/quake3arena +@dirrm lib/lokigames |