aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-12-19 20:51:42 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-12-19 20:51:42 +0000
commitc3b06efddced5922e5e41051f8cc068f39209ea8 (patch)
treeff83c9473e29145fc77e85525a9a48d693682e82 /games
parent9351408d76ea7cf14e47847f8b4b7cb5406b3edb (diff)
downloadports-c3b06efddced5922e5e41051f8cc068f39209ea8.tar.gz
ports-c3b06efddced5922e5e41051f8cc068f39209ea8.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/linux-enemyterritory-omni-bot-0660/Makefile19
-rw-r--r--games/linux-enemyterritory-omni-bot-0660/pkg-plist86
-rw-r--r--games/linux-enemyterritory-omni-bot/Makefile19
-rw-r--r--games/linux-enemyterritory-omni-bot/pkg-plist86
4 files changed, 102 insertions, 108 deletions
diff --git a/games/linux-enemyterritory-omni-bot-0660/Makefile b/games/linux-enemyterritory-omni-bot-0660/Makefile
index d0e3b147a04c..2299b2f33cd5 100644
--- a/games/linux-enemyterritory-omni-bot-0660/Makefile
+++ b/games/linux-enemyterritory-omni-bot-0660/Makefile
@@ -21,13 +21,13 @@ USE_ZIP= yes
USE_LINUX= yes
NO_WRKSUBDIR= yes
-DATADIR= ${PREFIX}/lib/enemyterritory
+DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME}
do-build:
.for f in et etded
- @(${ECHO} "#!/bin/sh"; \
- ${ECHO} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \
+ @(${ECHO_CMD} "#!/bin/sh"; \
+ ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \
${WRKSRC}/${f}-${PORTNAME}
.endfor
@@ -35,14 +35,11 @@ do-install:
.for f in et etded
${INSTALL_SCRIPT} ${WRKSRC}/${f}-${PORTNAME} ${PREFIX}/bin
.endfor
- ${MKDIR} ${DATADIR}/${PORTNAME}
- ${INSTALL_PROGRAM} ${WRKSRC}/omni-bot/omnibot_et.so \
- ${DATADIR}/${PORTNAME}
- cd ${WRKSRC}/omni-bot && ${CP} -R et global_scripts \
- ${DATADIR}/${PORTNAME}
- ${INSTALL_PROGRAM} ${WRKSRC}/omnibot/qagame.mp.i386.so \
- ${DATADIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/omnibot/omnibot_et.pk3 ${DATADIR}/${PORTNAME}
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/omni-bot/omnibot_et.so ${DATADIR}
+ cd ${WRKSRC}/omni-bot && ${CP} -R et global_scripts ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/omnibot/qagame.mp.i386.so ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/omnibot/omnibot_et.pk3 ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for f in *.txt omni-bot/*.txt
diff --git a/games/linux-enemyterritory-omni-bot-0660/pkg-plist b/games/linux-enemyterritory-omni-bot-0660/pkg-plist
index e57004bd09bc..90bfe387a19d 100644
--- a/games/linux-enemyterritory-omni-bot-0660/pkg-plist
+++ b/games/linux-enemyterritory-omni-bot-0660/pkg-plist
@@ -1,51 +1,51 @@
bin/et-omni-bot
bin/etded-omni-bot
-%%DATADIR%%/omni-bot/et/nav/et_custom.zip
-%%DATADIR%%/omni-bot/et/nav/et_official.zip
-%%DATADIR%%/omni-bot/et/scripts/ammo_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/def_bot.gm
-%%DATADIR%%/omni-bot/et/scripts/difficulty.gm
-%%DATADIR%%/omni-bot/et/scripts/disguise_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/dispenseammo_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/dispensehealth_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/escortvehicle_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/et_autoexec.gm
-%%DATADIR%%/omni-bot/et/scripts/et_commands.gm
-%%DATADIR%%/omni-bot/et/scripts/et_navconfig.gm
-%%DATADIR%%/omni-bot/et/scripts/et_utilities.gm
-%%DATADIR%%/omni-bot/et/scripts/health_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/makemapgm.gm
-%%DATADIR%%/omni-bot/et/scripts/mountvehicle_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/poisoned.gm
-%%DATADIR%%/omni-bot/et/scripts/ridevehicle_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/sample.gm
-%%DATADIR%%/omni-bot/et/scripts/testbot.gm
-%%DATADIR%%/omni-bot/et/scripts/testmap.gm
-%%DATADIR%%/omni-bot/et/scripts/useswitch_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/weapons/weapons.zip
-%%DATADIR%%/omni-bot/global_scripts/commands.gm
-%%DATADIR%%/omni-bot/global_scripts/config.gm
-%%DATADIR%%/omni-bot/global_scripts/testdebugger.gm
-%%DATADIR%%/omni-bot/global_scripts/testdebugwindows.gm
-%%DATADIR%%/omni-bot/global_scripts/testfilesystem.gm
-%%DATADIR%%/omni-bot/global_scripts/testmath.gm
-%%DATADIR%%/omni-bot/global_scripts/testmisc.gm
-%%DATADIR%%/omni-bot/global_scripts/testrequire.gm
-%%DATADIR%%/omni-bot/global_scripts/utilities.gm
-%%DATADIR%%/omni-bot/global_scripts/weapons/weapon_sample.gm
-%%DATADIR%%/omni-bot/omnibot_et.pk3
-%%DATADIR%%/omni-bot/omnibot_et.so
-%%DATADIR%%/omni-bot/qagame.mp.i386.so
+%%DATADIR%%/et/nav/et_custom.zip
+%%DATADIR%%/et/nav/et_official.zip
+%%DATADIR%%/et/scripts/ammo_goal.gm
+%%DATADIR%%/et/scripts/def_bot.gm
+%%DATADIR%%/et/scripts/difficulty.gm
+%%DATADIR%%/et/scripts/disguise_goal.gm
+%%DATADIR%%/et/scripts/dispenseammo_goal.gm
+%%DATADIR%%/et/scripts/dispensehealth_goal.gm
+%%DATADIR%%/et/scripts/escortvehicle_goal.gm
+%%DATADIR%%/et/scripts/et_autoexec.gm
+%%DATADIR%%/et/scripts/et_commands.gm
+%%DATADIR%%/et/scripts/et_navconfig.gm
+%%DATADIR%%/et/scripts/et_utilities.gm
+%%DATADIR%%/et/scripts/health_goal.gm
+%%DATADIR%%/et/scripts/makemapgm.gm
+%%DATADIR%%/et/scripts/mountvehicle_goal.gm
+%%DATADIR%%/et/scripts/poisoned.gm
+%%DATADIR%%/et/scripts/ridevehicle_goal.gm
+%%DATADIR%%/et/scripts/sample.gm
+%%DATADIR%%/et/scripts/testbot.gm
+%%DATADIR%%/et/scripts/testmap.gm
+%%DATADIR%%/et/scripts/useswitch_goal.gm
+%%DATADIR%%/et/scripts/weapons/weapons.zip
+%%DATADIR%%/global_scripts/commands.gm
+%%DATADIR%%/global_scripts/config.gm
+%%DATADIR%%/global_scripts/testdebugger.gm
+%%DATADIR%%/global_scripts/testdebugwindows.gm
+%%DATADIR%%/global_scripts/testfilesystem.gm
+%%DATADIR%%/global_scripts/testmath.gm
+%%DATADIR%%/global_scripts/testmisc.gm
+%%DATADIR%%/global_scripts/testrequire.gm
+%%DATADIR%%/global_scripts/utilities.gm
+%%DATADIR%%/global_scripts/weapons/weapon_sample.gm
+%%DATADIR%%/omnibot_et.pk3
+%%DATADIR%%/omnibot_et.so
+%%DATADIR%%/qagame.mp.i386.so
%%PORTDOCS%%%%DOCSDIR%%/credits.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/Omni-bot Wiki.pdf
%%PORTDOCS%%%%DOCSDIR%%/install.de.txt
%%PORTDOCS%%%%DOCSDIR%%/install.en.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DATADIR%%/omni-bot/global_scripts/weapons
-@dirrm %%DATADIR%%/omni-bot/global_scripts
-@dirrm %%DATADIR%%/omni-bot/et/scripts/weapons
-@dirrm %%DATADIR%%/omni-bot/et/scripts
-@dirrm %%DATADIR%%/omni-bot/et/nav
-@dirrm %%DATADIR%%/omni-bot/et
-@dirrm %%DATADIR%%/omni-bot
+@dirrm %%DATADIR%%/global_scripts/weapons
+@dirrm %%DATADIR%%/global_scripts
+@dirrm %%DATADIR%%/et/scripts/weapons
+@dirrm %%DATADIR%%/et/scripts
+@dirrm %%DATADIR%%/et/nav
+@dirrm %%DATADIR%%/et
+@dirrm %%DATADIR%%
diff --git a/games/linux-enemyterritory-omni-bot/Makefile b/games/linux-enemyterritory-omni-bot/Makefile
index d0e3b147a04c..2299b2f33cd5 100644
--- a/games/linux-enemyterritory-omni-bot/Makefile
+++ b/games/linux-enemyterritory-omni-bot/Makefile
@@ -21,13 +21,13 @@ USE_ZIP= yes
USE_LINUX= yes
NO_WRKSUBDIR= yes
-DATADIR= ${PREFIX}/lib/enemyterritory
+DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME}
do-build:
.for f in et etded
- @(${ECHO} "#!/bin/sh"; \
- ${ECHO} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \
+ @(${ECHO_CMD} "#!/bin/sh"; \
+ ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \
${WRKSRC}/${f}-${PORTNAME}
.endfor
@@ -35,14 +35,11 @@ do-install:
.for f in et etded
${INSTALL_SCRIPT} ${WRKSRC}/${f}-${PORTNAME} ${PREFIX}/bin
.endfor
- ${MKDIR} ${DATADIR}/${PORTNAME}
- ${INSTALL_PROGRAM} ${WRKSRC}/omni-bot/omnibot_et.so \
- ${DATADIR}/${PORTNAME}
- cd ${WRKSRC}/omni-bot && ${CP} -R et global_scripts \
- ${DATADIR}/${PORTNAME}
- ${INSTALL_PROGRAM} ${WRKSRC}/omnibot/qagame.mp.i386.so \
- ${DATADIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/omnibot/omnibot_et.pk3 ${DATADIR}/${PORTNAME}
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/omni-bot/omnibot_et.so ${DATADIR}
+ cd ${WRKSRC}/omni-bot && ${CP} -R et global_scripts ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/omnibot/qagame.mp.i386.so ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/omnibot/omnibot_et.pk3 ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for f in *.txt omni-bot/*.txt
diff --git a/games/linux-enemyterritory-omni-bot/pkg-plist b/games/linux-enemyterritory-omni-bot/pkg-plist
index e57004bd09bc..90bfe387a19d 100644
--- a/games/linux-enemyterritory-omni-bot/pkg-plist
+++ b/games/linux-enemyterritory-omni-bot/pkg-plist
@@ -1,51 +1,51 @@
bin/et-omni-bot
bin/etded-omni-bot
-%%DATADIR%%/omni-bot/et/nav/et_custom.zip
-%%DATADIR%%/omni-bot/et/nav/et_official.zip
-%%DATADIR%%/omni-bot/et/scripts/ammo_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/def_bot.gm
-%%DATADIR%%/omni-bot/et/scripts/difficulty.gm
-%%DATADIR%%/omni-bot/et/scripts/disguise_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/dispenseammo_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/dispensehealth_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/escortvehicle_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/et_autoexec.gm
-%%DATADIR%%/omni-bot/et/scripts/et_commands.gm
-%%DATADIR%%/omni-bot/et/scripts/et_navconfig.gm
-%%DATADIR%%/omni-bot/et/scripts/et_utilities.gm
-%%DATADIR%%/omni-bot/et/scripts/health_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/makemapgm.gm
-%%DATADIR%%/omni-bot/et/scripts/mountvehicle_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/poisoned.gm
-%%DATADIR%%/omni-bot/et/scripts/ridevehicle_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/sample.gm
-%%DATADIR%%/omni-bot/et/scripts/testbot.gm
-%%DATADIR%%/omni-bot/et/scripts/testmap.gm
-%%DATADIR%%/omni-bot/et/scripts/useswitch_goal.gm
-%%DATADIR%%/omni-bot/et/scripts/weapons/weapons.zip
-%%DATADIR%%/omni-bot/global_scripts/commands.gm
-%%DATADIR%%/omni-bot/global_scripts/config.gm
-%%DATADIR%%/omni-bot/global_scripts/testdebugger.gm
-%%DATADIR%%/omni-bot/global_scripts/testdebugwindows.gm
-%%DATADIR%%/omni-bot/global_scripts/testfilesystem.gm
-%%DATADIR%%/omni-bot/global_scripts/testmath.gm
-%%DATADIR%%/omni-bot/global_scripts/testmisc.gm
-%%DATADIR%%/omni-bot/global_scripts/testrequire.gm
-%%DATADIR%%/omni-bot/global_scripts/utilities.gm
-%%DATADIR%%/omni-bot/global_scripts/weapons/weapon_sample.gm
-%%DATADIR%%/omni-bot/omnibot_et.pk3
-%%DATADIR%%/omni-bot/omnibot_et.so
-%%DATADIR%%/omni-bot/qagame.mp.i386.so
+%%DATADIR%%/et/nav/et_custom.zip
+%%DATADIR%%/et/nav/et_official.zip
+%%DATADIR%%/et/scripts/ammo_goal.gm
+%%DATADIR%%/et/scripts/def_bot.gm
+%%DATADIR%%/et/scripts/difficulty.gm
+%%DATADIR%%/et/scripts/disguise_goal.gm
+%%DATADIR%%/et/scripts/dispenseammo_goal.gm
+%%DATADIR%%/et/scripts/dispensehealth_goal.gm
+%%DATADIR%%/et/scripts/escortvehicle_goal.gm
+%%DATADIR%%/et/scripts/et_autoexec.gm
+%%DATADIR%%/et/scripts/et_commands.gm
+%%DATADIR%%/et/scripts/et_navconfig.gm
+%%DATADIR%%/et/scripts/et_utilities.gm
+%%DATADIR%%/et/scripts/health_goal.gm
+%%DATADIR%%/et/scripts/makemapgm.gm
+%%DATADIR%%/et/scripts/mountvehicle_goal.gm
+%%DATADIR%%/et/scripts/poisoned.gm
+%%DATADIR%%/et/scripts/ridevehicle_goal.gm
+%%DATADIR%%/et/scripts/sample.gm
+%%DATADIR%%/et/scripts/testbot.gm
+%%DATADIR%%/et/scripts/testmap.gm
+%%DATADIR%%/et/scripts/useswitch_goal.gm
+%%DATADIR%%/et/scripts/weapons/weapons.zip
+%%DATADIR%%/global_scripts/commands.gm
+%%DATADIR%%/global_scripts/config.gm
+%%DATADIR%%/global_scripts/testdebugger.gm
+%%DATADIR%%/global_scripts/testdebugwindows.gm
+%%DATADIR%%/global_scripts/testfilesystem.gm
+%%DATADIR%%/global_scripts/testmath.gm
+%%DATADIR%%/global_scripts/testmisc.gm
+%%DATADIR%%/global_scripts/testrequire.gm
+%%DATADIR%%/global_scripts/utilities.gm
+%%DATADIR%%/global_scripts/weapons/weapon_sample.gm
+%%DATADIR%%/omnibot_et.pk3
+%%DATADIR%%/omnibot_et.so
+%%DATADIR%%/qagame.mp.i386.so
%%PORTDOCS%%%%DOCSDIR%%/credits.txt
%%PORTDOCS%%%%DOCSDIR%%/docs/Omni-bot Wiki.pdf
%%PORTDOCS%%%%DOCSDIR%%/install.de.txt
%%PORTDOCS%%%%DOCSDIR%%/install.en.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DATADIR%%/omni-bot/global_scripts/weapons
-@dirrm %%DATADIR%%/omni-bot/global_scripts
-@dirrm %%DATADIR%%/omni-bot/et/scripts/weapons
-@dirrm %%DATADIR%%/omni-bot/et/scripts
-@dirrm %%DATADIR%%/omni-bot/et/nav
-@dirrm %%DATADIR%%/omni-bot/et
-@dirrm %%DATADIR%%/omni-bot
+@dirrm %%DATADIR%%/global_scripts/weapons
+@dirrm %%DATADIR%%/global_scripts
+@dirrm %%DATADIR%%/et/scripts/weapons
+@dirrm %%DATADIR%%/et/scripts
+@dirrm %%DATADIR%%/et/nav
+@dirrm %%DATADIR%%/et
+@dirrm %%DATADIR%%