aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-17 10:19:42 +0800
committerlioux <lioux@FreeBSD.org>2001-10-17 10:19:42 +0800
commit2ce53f3e6947365b1f2d0f0b5282bd2a5f01ce08 (patch)
treef3d59da04242aa6a577037ea33cf3d62f50ff9ab /games
parent5670cf541bcff8944a5ca5797f6d48a356d20718 (diff)
downloadfreebsd-ports-graphics-2ce53f3e6947365b1f2d0f0b5282bd2a5f01ce08.tar.gz
freebsd-ports-graphics-2ce53f3e6947365b1f2d0f0b5282bd2a5f01ce08.tar.zst
freebsd-ports-graphics-2ce53f3e6947365b1f2d0f0b5282bd2a5f01ce08.zip
o New port utserver-to version 0.2.b: Unreal Tournament mod Tactical
Ops full server package for Linux o This is a master port that will be used by all utserver mod ports Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/utserver-to/Makefile124
-rw-r--r--games/utserver-to/distinfo1
-rw-r--r--games/utserver-to/pkg-comment1
-rw-r--r--games/utserver-to/pkg-descr8
-rw-r--r--games/utserver-to/pkg-plist165
6 files changed, 300 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 5e517eb1dbb..c325b400311 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -258,6 +258,7 @@
SUBDIR += uclient
SUBDIR += uox3
SUBDIR += utserver
+ SUBDIR += utserver-to
SUBDIR += virt
SUBDIR += wmeyes
SUBDIR += wmminichess
diff --git a/games/utserver-to/Makefile b/games/utserver-to/Makefile
new file mode 100644
index 00000000000..cd7685b7fc0
--- /dev/null
+++ b/games/utserver-to/Makefile
@@ -0,0 +1,124 @@
+# New ports collection makefile for: UT Mod: Tactical Ops
+# Date created: Sat Oct 6 11:40:35 EDT 2001
+# Whom: pat@databits.net et al
+#
+# $FreeBSD$
+#
+
+PORTNAME?= to
+PORTVERSION?= 0.2.b
+CATEGORIES= games linux
+MASTER_SITES?= ftp://files.gamesmania.de/pub/gamesmania/utstation/mods/to20/ \
+ ftp://ftp2.extreme-players.de/ut/mod/tacticalops/ \
+ ftp://ftp.gigabell.net/pub/exp/ut/mod/tacticalops/ \
+ ftp://ftp.task.gda.pl/mirror/ftp.extreme-players.de/exp/ut/mod/tacticalops/ \
+ ftp://downloads.khabal.com/pub/Download/unreal/mods/
+PKGNAMEPREFIX= utserver-
+.ifndef(DISTFILES)
+DISTNAME?= TOb200ManualInstall
+.endif
+
+MAINTAINER?= pat@databits.net
+
+RUN_DEPENDS= ${LINUXBASE}/usr/games/ut-server/System/ucc-bin:${UTSERVER_PORT}
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX_PREFIX= yes
+NO_CDROM= "Size; the data set is much too big"
+NO_BUILD= yes
+.if (${PORTNAME}==to)
+EXECUTABLES+= TacticalOpsLinux\\w+
+EXTRA_CLEAN_FILES+= .+/TacticalOpsLinux.+
+.endif
+.ifndef(DONT_USE_ZIP)
+USE_ZIP= yes
+.endif
+.ifndef(DO_USE_WRKSUBDIR)
+NO_WRKSUBDIR= yes
+.endif
+.if defined(DO_USE_STRIP) && exists(${LINUXBASE}/usr/bin/strip)
+STRIP= ${LINUXBASE}/usr/bin/strip
+.else
+STRIP=
+.endif
+
+UTDIR= usr/games/ut-server/${UTSUBDIR}/
+PLIST_SUB+= UTDIR="${UTDIR}"
+INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+SORT?= /usr/bin/sort
+
+UTSERVER_PORT= ${.CURDIR}/../utserver
+MASTERPKGMESSAGE!= cd ${UTSERVER_PORT} && ${MAKE} -V PKGMESSAGE
+
+# files which should be installed with executable perms
+EXECUTABLES+= .sh
+
+.if defined(HAS_WIERDPATCHES) && defined(DISTFILES)
+post-extract:
+.for files in ${DISTFILES:S/${EXTRACT_ONLY}//}
+ @cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
+ ${DISTDIR}/${DIST_SUBDIR}/${files}
+.endfor
+.endif
+
+pre-patch:
+# remove trailing ^M
+ @find -E ${WRKDIR} -type f \
+ -iregex ".*\.(bat|cfg|gam|htm|html|inf|ini|int|lst|pl|pm|sc|sh|scr|txt|url|uhtm)" \
+ -exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \;
+.ifdef(EXTRA_CLEAN_FILES)
+.for pattern in ${EXTRA_CLEAN_FILES}
+ @find -E ${WRKDIR} -type f \
+ -iregex "${pattern}" \
+ -exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \;
+.endfor
+.endif
+
+# Parses PLIST
+# Contributed by <lioux@FreeBSD.org>
+do-install: install-parse-plist install-scripts
+
+install-parse-plist: generate-plist
+ @${PERL} -e 'open(FHANDLER,"${TMPPLIST}");' \
+ -e 'open(FDIR,">${WRKDIR}/dirs.sh.tmp");' \
+ -e 'open(FFILES,">${WRKDIR}/files.sh");' \
+ -e 'while (!eof(FHANDLER)) {' \
+ -e 'chop($$file = <FHANDLER>);' \
+ -e '$$dir = $$file_partial = $$file;' \
+ -e '$$file_partial =~ s!^${UTDIR}!!;' \
+ -e 'print FDIR "${INSTALL_DIR}", \
+ " ", "\"${PREFIX}/$$dir\"", \
+ "\n" if $$dir =~ s!(^\@dirrm\s+)!!;' \
+ -e 'if ($$file !~ m!^\@!) {' \
+ -e '$$program_flag = 0;' \
+ -e 'if ("${EXECUTABLES}" ne "") {' \
+ -e 'foreach $$program_pattern \
+ (split (/\s+/,"${EXECUTABLES}")) {' \
+ -e '($$program_flag = 1 , break) \
+ if ($$file =~ /$$program_pattern$$/);' \
+ -e '}' \
+ -e '}' \
+ -e 'print FFILES ($$program_flag == 0) ? \
+ "${INSTALL_DATA}" : "${INSTALL_PROGRAM}", \
+ " ", "\"${WRKSRC}/$$file_partial\"", \
+ " ", "\"${PREFIX}/$$file\"", \
+ "\n";' \
+ -e '}' \
+ -e '}' \
+ -e 'close(FFILES);' \
+ -e 'close(FDIR);' \
+ -e 'close(FHANDLER);'
+ @${SORT} ${WRKDIR}/dirs.sh.tmp > ${WRKDIR}/dirs.sh
+
+install-scripts:
+.for script in dirs files
+ @${SH} ${WRKDIR}/${script}.sh
+.endfor
+
+post-install:
+ @${CAT} ${MASTERPKGMESSAGE}
+.if exists(${.CURDIR}/pkg-message)
+ @${CAT} ${.CURDIR}/pkg-message
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/utserver-to/distinfo b/games/utserver-to/distinfo
new file mode 100644
index 00000000000..b76df763c28
--- /dev/null
+++ b/games/utserver-to/distinfo
@@ -0,0 +1 @@
+MD5 (TOb200ManualInstall.zip) = 3569f1373530a984105064336c43e9cb
diff --git a/games/utserver-to/pkg-comment b/games/utserver-to/pkg-comment
new file mode 100644
index 00000000000..7c7284b007a
--- /dev/null
+++ b/games/utserver-to/pkg-comment
@@ -0,0 +1 @@
+Unreal Tournament mod Tactical Ops full server package for Linux
diff --git a/games/utserver-to/pkg-descr b/games/utserver-to/pkg-descr
new file mode 100644
index 00000000000..fabec4206a6
--- /dev/null
+++ b/games/utserver-to/pkg-descr
@@ -0,0 +1,8 @@
+This package contains all of the items you'll need to run a Unreal
+Tournament dedicated server with Tactical Ops mod under FreeBSD
+with Linux emulation.
+
+WWW: http://www.tactical-ops.net/
+
+- Patrick Li
+pat@databits.net
diff --git a/games/utserver-to/pkg-plist b/games/utserver-to/pkg-plist
new file mode 100644
index 00000000000..dbb0401efc7
--- /dev/null
+++ b/games/utserver-to/pkg-plist
@@ -0,0 +1,165 @@
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/Tactical Ops Manual.htm
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/Logo.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/Menu.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/PageBackground.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/eva-blunts.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/eva-cocaine.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/eva-money.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/eva-weed.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Ammo.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Amour.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-BuyZone.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Clip.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Death.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-EscapeZone.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Evidence.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Health.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Home.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-HostageRescue.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Money.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-SpecailItem.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-Timer.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/hud-c4.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/ins-part1.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/ins-part2.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/ins-part3.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/ins-part4.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/ins-part5.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/itm-Amour.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/itm-c4.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/itm-concgren.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/itm-flashbang.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/itm-hegren.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/itm-nades.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/itm-nightvision.jpg
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/mac-launch1.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/mac-launch2.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/mac-part1.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/mac-part2.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/mac-part3.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/mac-part4.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/run-icon.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/score-c4.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/score-escaped.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-ak47.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-aug.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-beretta.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-deagle.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-famas.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-glock.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-hk33.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-knife.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-m3.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-m4.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-mac10.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-mossberg.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-mp5k.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-mp5n.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-oicw.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-ph85.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-psg1.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-saiga.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/Images/wpn-sr9.gif
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/armory.html
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/barepage.html
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/basics.html
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/config.html
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/credits.html
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/installation.html
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/interface.html
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/manual.css
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/manual.html
+%%PORTDOCS%%%%UTDIR%%Help/TO2Manual/manual/running.html
+%%PORTDOCS%%%%UTDIR%%Help/TacticalOps.ico
+%%PORTDOCS%%%%UTDIR%%Help/TacticalOps2.ico
+%%PORTDOCS%%%%UTDIR%%Help/TacticalOps3.ico
+%%UTDIR%%System/TOSystem.int
+%%UTDIR%%System/TOUT.int
+%%UTDIR%%System/TacticalOps.ini
+%%UTDIR%%System/TacticalOpsLinuxLauncher
+%%UTDIR%%System/TacticalOpsLinuxServer
+%%UTDIR%%System/TacticalOpsLinuxServer2
+%%UTDIR%%System/s_SWAT.int
+%%UTDIR%%TacticalOps/Bind_AmmoWeaponsItems.txt
+%%UTDIR%%TacticalOps/Extra/DefaultINIfile/TacticalOpsLinux.ini
+%%UTDIR%%TacticalOps/Extra/LinuxServerCmd/readme.txt
+%%UTDIR%%TacticalOps/Extra/LinuxServerCmd/ut3.dat
+%%UTDIR%%TacticalOps/History.txt
+%%UTDIR%%TacticalOps/Install.txt
+%%UTDIR%%TacticalOps/License.txt
+%%UTDIR%%TacticalOps/Maps/Entry.unr
+%%UTDIR%%TacticalOps/Maps/TO-Blister.unr
+%%UTDIR%%TacticalOps/Maps/TO-Forge.unr
+%%UTDIR%%TacticalOps/Maps/TO-Getaway.unr
+%%UTDIR%%TacticalOps/Maps/TO-IcyBreeze.unr
+%%UTDIR%%TacticalOps/Maps/TO-Monastery.unr
+%%UTDIR%%TacticalOps/Maps/TO-Oilrig2.unr
+%%UTDIR%%TacticalOps/Maps/TO-Province.unr
+%%UTDIR%%TacticalOps/Maps/TO-RMSTitanic.unr
+%%UTDIR%%TacticalOps/Maps/TO-Ransom2.unr
+%%UTDIR%%TacticalOps/Maps/TO-RapidWaters2.unr
+%%UTDIR%%TacticalOps/Maps/TO-Resurrection.unr
+%%UTDIR%%TacticalOps/Maps/TO-Scope.unr
+%%UTDIR%%TacticalOps/Maps/TO-Spynet2.unr
+%%UTDIR%%TacticalOps/Maps/TO-TrainStation.unr
+%%UTDIR%%TacticalOps/Maps/TO-Verdon.unr
+%%UTDIR%%TacticalOps/Music/WarGate.umx
+%%UTDIR%%TacticalOps/Music/Winter.umx
+%%UTDIR%%TacticalOps/Sounds/Bird.uax
+%%UTDIR%%TacticalOps/Sounds/TO-Spinex.uax
+%%UTDIR%%TacticalOps/Sounds/TOsoundpack.uax
+%%UTDIR%%TacticalOps/Sounds/bstretzsnds.uax
+%%UTDIR%%TacticalOps/System/ActorResetter.txt
+%%UTDIR%%TacticalOps/System/ActorResetter.u
+%%UTDIR%%TacticalOps/System/TODatas.u
+%%UTDIR%%TacticalOps/System/TODecos.u
+%%UTDIR%%TacticalOps/System/TOModels.u
+%%UTDIR%%TacticalOps/System/TOPModels.u
+%%UTDIR%%TacticalOps/System/TOSystem.u
+%%UTDIR%%TacticalOps/System/TOUT.u
+%%UTDIR%%TacticalOps/System/s_SWAT.u
+%%UTDIR%%TacticalOps/TO200_Features.txt
+%%UTDIR%%TacticalOps/TO_MappingDoc.txt
+%%UTDIR%%TacticalOps/TacticalOps.txt
+%%UTDIR%%TacticalOps/Textures/CargoShip.utx
+%%UTDIR%%TacticalOps/Textures/DP_Pack-1.utx
+%%UTDIR%%TacticalOps/Textures/EP_Swt1.utx
+%%UTDIR%%TacticalOps/Textures/Icy.utx
+%%UTDIR%%TacticalOps/Textures/RKLphoto1.utx
+%%UTDIR%%TacticalOps/Textures/RichTrain.utx
+%%UTDIR%%TacticalOps/Textures/Spinex.utx
+%%UTDIR%%TacticalOps/Textures/Spynet-pack.utx
+%%UTDIR%%TacticalOps/Textures/TAcars.utx
+%%UTDIR%%TacticalOps/Textures/TAconeysigns.utx
+%%UTDIR%%TacticalOps/Textures/TAconeytex.utx
+%%UTDIR%%TacticalOps/Textures/TO-(c)-text-1.utx
+%%UTDIR%%TacticalOps/Textures/TO-(c)-text-2.utx
+%%UTDIR%%TacticalOps/Textures/TO-Desertpack-1.utx
+%%UTDIR%%TacticalOps/Textures/TO-Epic.utx
+%%UTDIR%%TacticalOps/Textures/TO-Neuro1.utx
+%%UTDIR%%TacticalOps/Textures/TO-Neuro2.utx
+%%UTDIR%%TacticalOps/Textures/TO-Rig2.utx
+%%UTDIR%%TacticalOps/Textures/TO-ganja-free-1.utx
+%%UTDIR%%TacticalOps/Textures/TO-iran-textures[ganja].utx
+%%UTDIR%%TacticalOps/Textures/UTtech4.utx
+%%UTDIR%%TacticalOps/Textures/Verdon.utx
+%%UTDIR%%TacticalOps/Textures/a3text.utx
+%%UTDIR%%TacticalOps/Textures/richchurch.utx
+%%UTDIR%%TacticalOps/Textures/richrig.utx
+%%UTDIR%%TacticalOps/Textures/terrorist3tex.utx
+%%UTDIR%%Web/TO_defaults_rules.uhtm
+%%UTDIR%%Web/TO_defaults_settings.uhtm
+@dirrm %%UTDIR%%Web
+@dirrm %%UTDIR%%TacticalOps/Textures
+@dirrm %%UTDIR%%TacticalOps/System
+@dirrm %%UTDIR%%TacticalOps/Sounds
+@dirrm %%UTDIR%%TacticalOps/Music
+@dirrm %%UTDIR%%TacticalOps/Maps
+@dirrm %%UTDIR%%TacticalOps/Extra/LinuxServerCmd
+@dirrm %%UTDIR%%TacticalOps/Extra/DefaultINIfile
+@dirrm %%UTDIR%%TacticalOps/Extra
+@unexec rmdir %D/%%UTDIR%%TacticalOps 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%UTDIR%%TacticalOps`` to remove any configuration files and logs left." | fmt
+%%PORTDOCS%%@dirrm %%UTDIR%%Help/TO2Manual/manual/Images
+%%PORTDOCS%%@dirrm %%UTDIR%%Help/TO2Manual/manual
+%%PORTDOCS%%@dirrm %%UTDIR%%Help/TO2Manual
+%%PORTDOCS%%@unexec rmdir %D/%%UTDIR%%Help 2>/dev/null || true