mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Return to Castle Wolfenstein for Linux.
Sponsored by: Multiplay UK (www.multiplay.co.uk)
This commit is contained in:
parent
d0ff1198e7
commit
890c808240
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55421
@ -233,6 +233,7 @@
|
||||
SUBDIR += rollemup
|
||||
SUBDIR += rt2-demo
|
||||
SUBDIR += rtb
|
||||
SUBDIR += rtcw
|
||||
SUBDIR += rubix
|
||||
SUBDIR += sdlroids
|
||||
SUBDIR += seabattle
|
||||
|
60
games/rtcw/Makefile
Normal file
60
games/rtcw/Makefile
Normal file
@ -0,0 +1,60 @@
|
||||
# New ports collection makefile for: Return to Castle Wolfenstein
|
||||
# Date created: Sun Jun 3 00:52:38 EDT 2001
|
||||
# Whom: nik@freebsd.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= rtcw
|
||||
PORTVERSION= 1.1b
|
||||
CATEGORIES= games linux
|
||||
MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/wolf/linux/
|
||||
DISTNAME= wolf-linux-${PORTVERSION}.x86
|
||||
EXTRACT_SUFX= .run
|
||||
|
||||
MAINTAINER= nik@FreeBSD.org
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_LINUX_PREFIX= yes
|
||||
NO_CDROM= "Size; the data set is much too big"
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
RTCWDIR= usr/games/rtcw
|
||||
PLIST_SUB+= RTCWDIR="${RTCWDIR}"
|
||||
INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
|
||||
|
||||
do-extract:
|
||||
@${RM} -rf ${WRKDIR}
|
||||
@${MKDIR} ${WRKDIR}
|
||||
@cd ${WRKDIR} && tail +175 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
|
||||
${TAR} zxvf - >/dev/null
|
||||
|
||||
pre-patch:
|
||||
# remove trailing ^M
|
||||
@find -E ${WRKSRC} -type f \
|
||||
-iregex ".*\.(bat|cfg|gam|htm|html|inf|ini|lst|sc|scr|txt|url)" \
|
||||
-exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \;
|
||||
|
||||
do-install:
|
||||
${INSTALL_DIR} ${PREFIX}/${RTCWDIR}
|
||||
.for file in CHANGES INSTALL QUICKSTART WolfMP.xpm WolfSP.xpm
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${RTCWDIR}
|
||||
.endfor
|
||||
.for file in openurl.sh
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/${RTCWDIR}
|
||||
.endfor
|
||||
.for file in wolf.x86 wolfded.x86 wolfsp.x86
|
||||
${INSTALL} -c -m 500 ${WRKSRC}/bin/x86/${file} ${PREFIX}/${RTCWDIR}
|
||||
.endfor
|
||||
${INSTALL_DIR} ${PREFIX}/${RTCWDIR}/main
|
||||
.for file in cgame.mp.i386.so cgamei386.so mp_pakmaps0.pk3 qagame.mp.i386.so qagamei386.so rotate.cfg ui.mp.i386.so uii386.so
|
||||
${INSTALL_DATA} ${WRKSRC}/main/${file} ${PREFIX}/${RTCWDIR}/main
|
||||
.endfor
|
||||
${INSTALL_DIR} ${PREFIX}/${RTCWDIR}/main/scripts
|
||||
${INSTALL_DATA} ${WRKSRC}/main/scripts/translation.cfg ${PREFIX}/${RTCWDIR}/main/scripts
|
||||
|
||||
# XXX Should really install the Docs/ directory as well
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
1
games/rtcw/distinfo
Normal file
1
games/rtcw/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (wolf-linux-1.1b.x86.run) = 3e720adc70c278e5cfb3776038d6ec7a
|
1
games/rtcw/pkg-comment
Normal file
1
games/rtcw/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Return to Castle Wolfenstein for Linux
|
6
games/rtcw/pkg-descr
Normal file
6
games/rtcw/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
This package contains most of the items you'll need to run
|
||||
Return to Castle Wolfenstein for Linux under FreeBSD. You
|
||||
still need to install some files from the retail CD. See the
|
||||
INSTALL file, and the rtcw-paks port for an easy way to do this.
|
||||
|
||||
- Nik Clayton <nik@FreeBSD.org>
|
9
games/rtcw/pkg-message
Normal file
9
games/rtcw/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*
|
||||
------------------------------------------------------------
|
||||
There is a bug in RTCW server regarding server log placement.
|
||||
Temporary workaround for this problem is to run RTCW server in
|
||||
a non-root environment. You may create a separate account for
|
||||
this or use an existing one as long as it does not have super-
|
||||
user privileges and manually do a recursive change in ownership
|
||||
to RTCW server and any mods you install accordingly.
|
||||
------------------------------------------------------------
|
21
games/rtcw/pkg-plist
Normal file
21
games/rtcw/pkg-plist
Normal file
@ -0,0 +1,21 @@
|
||||
%%RTCWDIR%%/CHANGES
|
||||
%%RTCWDIR%%/INSTALL
|
||||
%%RTCWDIR%%/QUICKSTART
|
||||
%%RTCWDIR%%/WolfMP.xpm
|
||||
%%RTCWDIR%%/WolfSP.xpm
|
||||
%%RTCWDIR%%/main/cgame.mp.i386.so
|
||||
%%RTCWDIR%%/main/cgamei386.so
|
||||
%%RTCWDIR%%/main/mp_pakmaps0.pk3
|
||||
%%RTCWDIR%%/main/qagame.mp.i386.so
|
||||
%%RTCWDIR%%/main/qagamei386.so
|
||||
%%RTCWDIR%%/main/rotate.cfg
|
||||
%%RTCWDIR%%/main/scripts/translation.cfg
|
||||
%%RTCWDIR%%/main/ui.mp.i386.so
|
||||
%%RTCWDIR%%/main/uii386.so
|
||||
%%RTCWDIR%%/openurl.sh
|
||||
%%RTCWDIR%%/wolf.x86
|
||||
%%RTCWDIR%%/wolfded.x86
|
||||
%%RTCWDIR%%/wolfsp.x86
|
||||
@unexec rmdir %D/%%RTCWDIR%%/main/scripts 2>/dev/null || true
|
||||
@unexec rmdir %D/%%RTCWDIR%%/main 2>/dev/null || true
|
||||
@unexec rmdir %D/%%RTCWDIR%%/ 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -Rf ${PKG_PREFIX}/%%RTCWDIR%%/`` to remove any configuration files, *.pk3 files, and mods left." | fmt
|
Loading…
Reference in New Issue
Block a user