aboutsummaryrefslogtreecommitdiff
path: root/games/linux-enemyterritory-tce
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-25 16:16:15 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-25 16:16:15 +0000
commitcae3f84fb2af8dea3fa27bb361764f5778ccc8c9 (patch)
tree179d1d4c06f6341e7b3731f6734bdfb5fdece66d /games/linux-enemyterritory-tce
parent3441f048b2a4a6009865834d7e5a24dd4ece86c2 (diff)
downloadports-cae3f84fb2af8dea3fa27bb361764f5778ccc8c9.tar.gz
ports-cae3f84fb2af8dea3fa27bb361764f5778ccc8c9.zip
- Add a launcher for the dedicated server
- Polish the Makefile
Notes
Notes: svn path=/head/; revision=134149
Diffstat (limited to 'games/linux-enemyterritory-tce')
-rw-r--r--games/linux-enemyterritory-tce/Makefile18
-rw-r--r--games/linux-enemyterritory-tce/pkg-plist1
2 files changed, 11 insertions, 8 deletions
diff --git a/games/linux-enemyterritory-tce/Makefile b/games/linux-enemyterritory-tce/Makefile
index 8af31e8ea700..155a0c249864 100644
--- a/games/linux-enemyterritory-tce/Makefile
+++ b/games/linux-enemyterritory-tce/Makefile
@@ -7,11 +7,10 @@
PORTNAME= enemyterritory-tce
PORTVERSION= 0.48
+PORTREVISION= 1
CATEGORIES= games linux
-MASTER_SITES= http://ftp.games.skynet.be/pub/www.filesnetwork.com/Wolfenstein_Enemy_Territory/Mods/Total_Conversions/:full \
- http://ftp.games.skynet.be/pub/www.filesnetwork.com/Wolfenstein_Enemy_Territory/Mods/Total_Conversions/:update \
- http://darkstar.ist.utl.pt/pub/games/:full \
- http://darkstar.ist.utl.pt/pub/games/:update \
+MASTER_SITES= http://ftp.games.skynet.be/pub/www.filesnetwork.com/Wolfenstein_Enemy_Territory/Mods/Total_Conversions/:full,update \
+ http://darkstar.ist.utl.pt/pub/games/:full,update \
http://ftp.wireplay.co.uk/pub/enemyterritory/mods/tcelite/Linux/:full \
http://et2.migamer.com/:full \
http://jogos.bragatel.pt/downloads/et/tcE/linux/:update
@@ -35,12 +34,15 @@ ETDIR= ${PREFIX}/lib/enemyterritory
STRIP= # do not brand Linux binaries as FreeBSD on INSTALL_PROGRAM
do-build:
- @${ECHO} '#!/bin/sh' > ${WRKSRC}/et-tce
- @${ECHO} 'exec ${PREFIX}/bin/et +set fs_game tcetest "$$@"' >> ${WRKSRC}/et-tce
+.for f in et etded
+ @${ECHO} '#!/bin/sh' > ${WRKSRC}/${f}-tce
+ @${ECHO} 'exec ${PREFIX}/bin/${f} +set fs_game tcetest "$$@"' >> ${WRKSRC}/${f}-tce
+.endfor
do-install:
- ${MKDIR} ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/et-tce ${PREFIX}/bin
+.for f in et etded
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f}-tce ${PREFIX}/bin
+.endfor
${MKDIR} ${ETDIR}/tcetest
.for f in cgame.mp.i386.so elitelogoicon.ico maps.cfg mp_bin.pk3 pak0.pk3 \
diff --git a/games/linux-enemyterritory-tce/pkg-plist b/games/linux-enemyterritory-tce/pkg-plist
index 9c8fdf2d6a0b..ee32106c3a69 100644
--- a/games/linux-enemyterritory-tce/pkg-plist
+++ b/games/linux-enemyterritory-tce/pkg-plist
@@ -1,4 +1,5 @@
bin/et-tce
+bin/etded-tce
lib/enemyterritory/tcetest/cgame.mp.i386.so
lib/enemyterritory/tcetest/elitelogoicon.ico
lib/enemyterritory/tcetest/maps.cfg