diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/q3-paks/Makefile | 47 | ||||
-rw-r--r-- | games/q3-paks/pkg-comment | 1 | ||||
-rw-r--r-- | games/q3-paks/pkg-descr | 7 | ||||
-rw-r--r-- | games/q3-paks/pkg-plist | 1 | ||||
-rw-r--r-- | games/quake3-data/Makefile | 47 | ||||
-rw-r--r-- | games/quake3-data/pkg-comment | 1 | ||||
-rw-r--r-- | games/quake3-data/pkg-descr | 7 | ||||
-rw-r--r-- | games/quake3-data/pkg-plist | 1 |
9 files changed, 113 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index ed9ecf2deb55..4018b92c8f03 100644 --- a/games/Makefile +++ b/games/Makefile @@ -214,6 +214,7 @@ SUBDIR += pysol-cardsets SUBDIR += pysol-music SUBDIR += pythoong + SUBDIR += q3-paks SUBDIR += q3server SUBDIR += q3server-excessive SUBDIR += q3server-freezetag diff --git a/games/q3-paks/Makefile b/games/q3-paks/Makefile new file mode 100644 index 000000000000..9f703334b8cc --- /dev/null +++ b/games/q3-paks/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: Quake 3 paks +# Date created: 1st March 2003 +# Whom: nik@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= q3-paks +PORTVERSION= 1.0 +CATEGORIES= games linux +MASTER_SITES= # +DISTFILES= pak0.pk3 +DIST_SUBDIR= q3-paks +IGNOREFILES= ${ALLFILES} + +MAINTAINER= nik@FreeBSD.org + +# Make this a BUILD_ rather than a RUN_DEPEND so that it can create the +# directory hierarchy for us. +RUN_DEPENDS= ${LOCALBASE}/usr/games/quake3/q3ded:${PORTSDIR}/games/q3server + +ONLY_FOR_ARCHS= i386 +USE_LINUX_PREFIX= yes +EXTRACT_ONLY= # Don't extract anything +STRIP= + +GAMEDIR= ${PREFIX}/usr/games/quake3/ + +.include <bsd.port.pre.mk> + +.for file in ${DISTFILES} +.if !exists(${DISTDIR}/rtcw-paks/${file}) +IGNORE=You must manually copy all the .pk3 files from the baseq3/ directory of an installed version of the game to the ${DISTDIR}/q3-paks directory and then run make again. +.endif +.endfor + +# Do nothing for the build. Don't set NO_BUILD because of the earlier +# BUILD_DEPENDS +do-build: + +do-install: + ${MKDIR} ${GAMEDIR}/baseq3 +.for file in ${DISTFILES} + ${INSTALL_DATA} ${DISTDIR}/q3-paks/${file} ${GAMEDIR}/baseq3 +.endfor + +.include <bsd.port.post.mk> diff --git a/games/q3-paks/pkg-comment b/games/q3-paks/pkg-comment new file mode 100644 index 000000000000..019701a10eb7 --- /dev/null +++ b/games/q3-paks/pkg-comment @@ -0,0 +1 @@ +Quake 3 for Linux .pk3 files diff --git a/games/q3-paks/pkg-descr b/games/q3-paks/pkg-descr new file mode 100644 index 000000000000..058b285ceaf8 --- /dev/null +++ b/games/q3-paks/pkg-descr @@ -0,0 +1,7 @@ +Quake 3 for Linux .pk3 files + +This port encapsulates the .pk3 files for Quake 3 that are used to complete +the installation of the game (including the dedicated server). + +You still need to have a legitimate copy of the game in order to obtain +the .pk3 files. diff --git a/games/q3-paks/pkg-plist b/games/q3-paks/pkg-plist new file mode 100644 index 000000000000..0ac6643f5fb0 --- /dev/null +++ b/games/q3-paks/pkg-plist @@ -0,0 +1 @@ +usr/games/quake3/baseq3/pak0.pk3 diff --git a/games/quake3-data/Makefile b/games/quake3-data/Makefile new file mode 100644 index 000000000000..9f703334b8cc --- /dev/null +++ b/games/quake3-data/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: Quake 3 paks +# Date created: 1st March 2003 +# Whom: nik@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= q3-paks +PORTVERSION= 1.0 +CATEGORIES= games linux +MASTER_SITES= # +DISTFILES= pak0.pk3 +DIST_SUBDIR= q3-paks +IGNOREFILES= ${ALLFILES} + +MAINTAINER= nik@FreeBSD.org + +# Make this a BUILD_ rather than a RUN_DEPEND so that it can create the +# directory hierarchy for us. +RUN_DEPENDS= ${LOCALBASE}/usr/games/quake3/q3ded:${PORTSDIR}/games/q3server + +ONLY_FOR_ARCHS= i386 +USE_LINUX_PREFIX= yes +EXTRACT_ONLY= # Don't extract anything +STRIP= + +GAMEDIR= ${PREFIX}/usr/games/quake3/ + +.include <bsd.port.pre.mk> + +.for file in ${DISTFILES} +.if !exists(${DISTDIR}/rtcw-paks/${file}) +IGNORE=You must manually copy all the .pk3 files from the baseq3/ directory of an installed version of the game to the ${DISTDIR}/q3-paks directory and then run make again. +.endif +.endfor + +# Do nothing for the build. Don't set NO_BUILD because of the earlier +# BUILD_DEPENDS +do-build: + +do-install: + ${MKDIR} ${GAMEDIR}/baseq3 +.for file in ${DISTFILES} + ${INSTALL_DATA} ${DISTDIR}/q3-paks/${file} ${GAMEDIR}/baseq3 +.endfor + +.include <bsd.port.post.mk> diff --git a/games/quake3-data/pkg-comment b/games/quake3-data/pkg-comment new file mode 100644 index 000000000000..019701a10eb7 --- /dev/null +++ b/games/quake3-data/pkg-comment @@ -0,0 +1 @@ +Quake 3 for Linux .pk3 files diff --git a/games/quake3-data/pkg-descr b/games/quake3-data/pkg-descr new file mode 100644 index 000000000000..058b285ceaf8 --- /dev/null +++ b/games/quake3-data/pkg-descr @@ -0,0 +1,7 @@ +Quake 3 for Linux .pk3 files + +This port encapsulates the .pk3 files for Quake 3 that are used to complete +the installation of the game (including the dedicated server). + +You still need to have a legitimate copy of the game in order to obtain +the .pk3 files. diff --git a/games/quake3-data/pkg-plist b/games/quake3-data/pkg-plist new file mode 100644 index 000000000000..0ac6643f5fb0 --- /dev/null +++ b/games/quake3-data/pkg-plist @@ -0,0 +1 @@ +usr/games/quake3/baseq3/pak0.pk3 |