aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-04-26 00:16:15 +0800
committerjylefort <jylefort@FreeBSD.org>2005-04-26 00:16:15 +0800
commitc7f5e5852d751117a999f2ed5a0ea46178ad3269 (patch)
treedd90adceef63c52ae895ec9c1e60bb308cde3f8c /games
parent143a3c7e138da23183146eb3bdb8dab6d0d188d8 (diff)
downloadfreebsd-ports-graphics-c7f5e5852d751117a999f2ed5a0ea46178ad3269.tar.gz
freebsd-ports-graphics-c7f5e5852d751117a999f2ed5a0ea46178ad3269.tar.zst
freebsd-ports-graphics-c7f5e5852d751117a999f2ed5a0ea46178ad3269.zip
- Add a launcher for the dedicated server
- Polish the Makefile
Diffstat (limited to 'games')
-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 8af31e8ea70..155a0c24986 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 9c8fdf2d6a0..ee32106c3a6 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