aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CVSROOT/modules1
-rw-r--r--games/Makefile1
-rw-r--r--games/linux-enemyterritory-fortress/Makefile80
-rw-r--r--games/linux-enemyterritory-fortress/distinfo2
-rw-r--r--games/linux-enemyterritory-fortress/pkg-descr10
-rw-r--r--games/linux-enemyterritory-fortress/pkg-plist50
6 files changed, 144 insertions, 0 deletions
diff --git a/CVSROOT/modules b/CVSROOT/modules
index dec9ade234af..2dee3f61959d 100644
--- a/CVSROOT/modules
+++ b/CVSROOT/modules
@@ -5347,6 +5347,7 @@ linux-edonkey-server ports/net/linux-edonkey-server
linux-edonkey-tool-list ports/misc/linux-edonkey-tool-list
linux-edonkey-tool-recovermet ports/misc/linux-edonkey-tool-recovermet
linux-enemyterritory ports/games/linux-enemyterritory
+linux-enemyterritory-fortress ports/games/linux-enemyterritory-fortress
linux-enemyterritory-tce ports/games/linux-enemyterritory-tce
linux-esound ports/audio/linux-esound
linux-expat ports/textproc/linux-expat
diff --git a/games/Makefile b/games/Makefile
index a5cbc145444f..a495111f9237 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -278,6 +278,7 @@
SUBDIR += lincity
SUBDIR += linux-doom3-demo
SUBDIR += linux-enemyterritory
+ SUBDIR += linux-enemyterritory-fortress
SUBDIR += linux-enemyterritory-tce
SUBDIR += linux-nwnclient
SUBDIR += linux-nwserver
diff --git a/games/linux-enemyterritory-fortress/Makefile b/games/linux-enemyterritory-fortress/Makefile
new file mode 100644
index 000000000000..648cf928d0da
--- /dev/null
+++ b/games/linux-enemyterritory-fortress/Makefile
@@ -0,0 +1,80 @@
+# New ports collection makefile for: Enemy Territory Fortress
+# Date created: 25 Mar 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= enemyterritory-fortress
+PORTVERSION= 1.2
+CATEGORIES= games linux
+MASTER_SITES= ${MASTER_SITE_GENTOO} \
+ http://camelot.snt.utwente.nl/etf/ \
+ ftp://ftp.planet-multiplayer.de/sites/rtcw-prison/et/mods/etf/ \
+ http://ftp.games.skynet.be/pub/wolfenstein/etf/
+MASTER_SITE_SUBDIR= distfiles # for MASTER_SITE_GENTOO
+PKGNAMEPREFIX= linux-
+DISTNAME= etf_${PORTVERSION}-english
+EXTRACT_SUFX= .run
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= A class-based teamplay modification for Enemy Territory
+
+RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory
+
+ONLY_FOR_ARCHS= i386
+PREFIX?= ${X11BASE} # USE_X_PREFIX would pull in USE_XLIB
+USE_LINUX= yes
+NO_PACKAGE= Distfile is 225MB, set FORCE_PACKAGE if you really want to build this package
+RESTRICTED= Redistribution is limited, see license
+NO_WRKSUBDIR= yes
+ETDIR= ${PREFIX}/lib/enemyterritory
+STRIP= # do not brand Linux binaries as FreeBSD on INSTALL_PROGRAM
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+ @cd ${WRKSRC} && ${TAIL} -c +8763 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf -
+.for f in etf12.tar.gz cfgnormal.tar.gz
+ @cd ${WRKSRC} && ${TAR} zxf ${f}
+.endfor
+
+do-build:
+ @${ECHO} '#!/bin/sh' > ${WRKSRC}/et-fortress
+ @${ECHO} 'exec ${PREFIX}/bin/et +set fs_game etf "$$@"' >> ${WRKSRC}/et-fortress
+
+do-install:
+ ${MKDIR} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/et-fortress ${PREFIX}/bin
+
+ ${MKDIR} ${ETDIR}/etf
+.for f in autoexec.cfg cgame.mp.i386.so etconfig.cfg etf_pak0.pk3 \
+ etf_pak1.pk3 etf_pak2.pk3 mp_bin.pk3 qagame.mp.i386.so \
+ sample_server.cfg servercache.dat ui.mp.i386.so
+ ${INSTALL_DATA} ${WRKSRC}/etf/${f} ${ETDIR}/etf
+.endfor
+.for f in cgame.mp.i386.so qagame.mp.i386.so ui.mp.i386.so
+ -${CHOWN} ${LIBOWN}:${LIBGRP} ${ETDIR}/etf/${f}
+ ${CHMOD} ${LIBMODE} ${ETDIR}/etf/${f}
+.endfor
+
+.for d in classconfigs ui/usermenu video
+ ${MKDIR} ${ETDIR}/etf/${d}
+ ${INSTALL_DATA} ${WRKSRC}/etf/${d}/* ${ETDIR}/etf/${d}
+.endfor
+
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/etf.xpm ${DATADIR}
+
+.for d in advanced_server_configs sample_server
+ ${MKDIR} ${DATADIR}/${d}
+ ${INSTALL_DATA} ${WRKSRC}/etf/${d:S/_/\ /g}/* ${DATADIR}/${d}
+.endfor
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in EULA README etf/12_changelog.txt
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/linux-enemyterritory-fortress/distinfo b/games/linux-enemyterritory-fortress/distinfo
new file mode 100644
index 000000000000..fce2e39014ed
--- /dev/null
+++ b/games/linux-enemyterritory-fortress/distinfo
@@ -0,0 +1,2 @@
+MD5 (etf_1.2-english.run) = a0efbbeae4e3a079ae438ce98470d1d8
+SIZE (etf_1.2-english.run) = 235943434
diff --git a/games/linux-enemyterritory-fortress/pkg-descr b/games/linux-enemyterritory-fortress/pkg-descr
new file mode 100644
index 000000000000..5f874e02a902
--- /dev/null
+++ b/games/linux-enemyterritory-fortress/pkg-descr
@@ -0,0 +1,10 @@
+ETF is a port of the mod Q3F for Quake 3 Arena and is based off the
+Team Fortress concept. 10 unique classes and a ton of very cool
+weapons along with some killer maps make up ETF. The game will offer
+many game types like CTF, Reverse CTF, Single Flag, Capture & Hold,
+Assault, King of the Hill and Duel.
+
+WWW: http://www.etfgame.com/
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/games/linux-enemyterritory-fortress/pkg-plist b/games/linux-enemyterritory-fortress/pkg-plist
new file mode 100644
index 000000000000..7c6195a42e12
--- /dev/null
+++ b/games/linux-enemyterritory-fortress/pkg-plist
@@ -0,0 +1,50 @@
+bin/et-fortress
+lib/enemyterritory/etf/autoexec.cfg
+lib/enemyterritory/etf/cgame.mp.i386.so
+lib/enemyterritory/etf/classconfigs/agent.cfg
+lib/enemyterritory/etf/classconfigs/civilian.cfg
+lib/enemyterritory/etf/classconfigs/engineer.cfg
+lib/enemyterritory/etf/classconfigs/flametrooper.cfg
+lib/enemyterritory/etf/classconfigs/grenadier.cfg
+lib/enemyterritory/etf/classconfigs/minigunner.cfg
+lib/enemyterritory/etf/classconfigs/paramedic.cfg
+lib/enemyterritory/etf/classconfigs/recon.cfg
+lib/enemyterritory/etf/classconfigs/sniper.cfg
+lib/enemyterritory/etf/classconfigs/soldier.cfg
+lib/enemyterritory/etf/etconfig.cfg
+lib/enemyterritory/etf/etf_pak0.pk3
+lib/enemyterritory/etf/etf_pak1.pk3
+lib/enemyterritory/etf/etf_pak2.pk3
+lib/enemyterritory/etf/mp_bin.pk3
+lib/enemyterritory/etf/qagame.mp.i386.so
+lib/enemyterritory/etf/sample_server.cfg
+lib/enemyterritory/etf/servercache.dat
+lib/enemyterritory/etf/ui.mp.i386.so
+lib/enemyterritory/etf/ui/usermenu/default_defense.cfg
+lib/enemyterritory/etf/ui/usermenu/default_general.cfg
+lib/enemyterritory/etf/ui/usermenu/default_main.cfg
+lib/enemyterritory/etf/ui/usermenu/default_offense.cfg
+lib/enemyterritory/etf/ui/usermenu/default_team.cfg
+lib/enemyterritory/etf/video/etintro.roq
+%%PORTDOCS%%%%DOCSDIR%%/12_changelog.txt
+%%PORTDOCS%%%%DOCSDIR%%/EULA
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%DATADIR%%/advanced_server_configs/ACTF.zip
+%%DATADIR%%/advanced_server_configs/DUEL.zip
+%%DATADIR%%/advanced_server_configs/MIXED.zip
+%%DATADIR%%/advanced_server_configs/readme_samples.txt
+%%DATADIR%%/etf.xpm
+%%DATADIR%%/sample_server/ACTF.zip
+%%DATADIR%%/sample_server/DUEL.zip
+%%DATADIR%%/sample_server/MIXED.zip
+%%DATADIR%%/sample_server/readme_samples.txt
+@dirrm lib/enemyterritory/etf/classconfigs
+@dirrm lib/enemyterritory/etf/ui/usermenu
+@dirrm lib/enemyterritory/etf/ui
+@dirrm lib/enemyterritory/etf/video
+@dirrm lib/enemyterritory/etf
+@unexec rmdir %D/lib/enemyterritory 2>/dev/null || true
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%/advanced_server_configs
+@dirrm %%DATADIR%%/sample_server
+@dirrm %%DATADIR%%