Wrap the .pk3 files required by Return to Castle Wolfenstein. You still need

the retail CD, this just makes things a little more integated.

Sponsored by: Multiplay UK (www.multiplay.co.uk)
This commit is contained in:
Nik Clayton 2002-03-02 22:44:05 +00:00
parent 890c808240
commit c4802b7cf8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55423
5 changed files with 61 additions and 0 deletions

View file

@ -234,6 +234,7 @@
SUBDIR += rt2-demo
SUBDIR += rtb
SUBDIR += rtcw
SUBDIR += rtcw-paks
SUBDIR += rubix
SUBDIR += sdlroids
SUBDIR += seabattle

49
games/rtcw-paks/Makefile Normal file
View file

@ -0,0 +1,49 @@
# New ports collection makefile for: Return to Castle Wolfenstein paks
# Date created: Sat Jul 15 14:27:16 SAST 2000
# Whom: nik@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= rtcw-paks
PORTVERSION= 1.0
CATEGORIES= games linux
MASTER_SITES= #
DISTFILES= mp_pak0.pk3 mp_pak1.pk3 mp_pak2.pk3 \
pak0.pk3 \
sp_pak1.pk3 sp_pak2.pk3
DIST_SUBDIR= rtcw-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.
BUILD_DEPENDS= ${PREFIX}/usr/games/rtcw/wolf.x86:${PORTSDIR}/games/rtcw
ONLY_FOR_ARCHS= i386
USE_LINUX_PREFIX= yes
EXTRACT_ONLY= # Don't extract anything
STRIP=
GAMEDIR= ${PREFIX}/usr/games/rtcw/
.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 main/ directory of an installed version of the game to the ${DISTDIR}/rtcw-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} -p ${GAMEDIR}/main
.for file in ${DISTFILES}
${INSTALL_DATA} ${DISTDIR}/rtcw-paks/${file} ${GAMEDIR}/main
.endfor
.include <bsd.port.post.mk>

View file

@ -0,0 +1 @@
Return to Castle Wolfenstein for Linux .pk3 files

View file

@ -0,0 +1,4 @@
Return to Castle Wolfenstein for Linux, .pk3 files
This port encapsulates the .pk3 files for RTCW that are used to complete
the installation of the game (including the dedicated server).

View file

@ -0,0 +1,6 @@
usr/games/rtcw/main/mp_pak0.pk3
usr/games/rtcw/main/mp_pak1.pk3
usr/games/rtcw/main/mp_pak2.pk3
usr/games/rtcw/main/pak0.pk3
usr/games/rtcw/main/sp_pak1.pk3
usr/games/rtcw/main/sp_pak2.pk3