diff options
author | alepulver <alepulver@FreeBSD.org> | 2008-02-19 21:20:31 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2008-02-19 21:20:31 +0800 |
commit | 60c79954eb75e3f0cc8b56ef5e4085b14638e5ff (patch) | |
tree | 9985275b120b7a0acada5ac7b1178c5a7c7ad3a5 | |
parent | 901226cab90a2bfc863ef69cd4d21b7cbfd8b731 (diff) | |
download | freebsd-ports-gnome-60c79954eb75e3f0cc8b56ef5e4085b14638e5ff.tar.gz freebsd-ports-gnome-60c79954eb75e3f0cc8b56ef5e4085b14638e5ff.tar.zst freebsd-ports-gnome-60c79954eb75e3f0cc8b56ef5e4085b14638e5ff.zip |
- Fix omni-bot paths.
- Bump PORTREVISION.
Reported by: sam <samira.nox@gmail.com>
-rw-r--r-- | games/linux-enemyterritory-etpub/Makefile | 4 | ||||
-rw-r--r-- | games/linux-enemyterritory-jaymod-21/Makefile | 3 | ||||
-rw-r--r-- | games/linux-enemyterritory-jaymod/Makefile | 3 | ||||
-rw-r--r-- | games/linux-enemyterritory-omni-bot-0660/Makefile | 3 | ||||
-rw-r--r-- | games/linux-enemyterritory-omni-bot/Makefile | 3 |
5 files changed, 10 insertions, 6 deletions
diff --git a/games/linux-enemyterritory-etpub/Makefile b/games/linux-enemyterritory-etpub/Makefile index 8750e8ff5fef..8ebe3726f786 100644 --- a/games/linux-enemyterritory-etpub/Makefile +++ b/games/linux-enemyterritory-etpub/Makefile @@ -7,7 +7,7 @@ PORTNAME= etpub PORTVERSION= 0.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games linux MASTER_SITES= http://et.tjw.org/etpub/dist/ PKGNAMEPREFIX= linux-enemyterritory- @@ -45,7 +45,7 @@ pre-patch: do-build: .for f in et etded @(${ECHO_CMD} "#!/bin/sh"; \ - ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \ + ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/../omni-bot" "$$@"') > \ ${WRKSRC}/${f}-${PORTNAME} .endfor diff --git a/games/linux-enemyterritory-jaymod-21/Makefile b/games/linux-enemyterritory-jaymod-21/Makefile index a4886be678ca..15076a22aa5b 100644 --- a/games/linux-enemyterritory-jaymod-21/Makefile +++ b/games/linux-enemyterritory-jaymod-21/Makefile @@ -7,6 +7,7 @@ PORTNAME= jaymod PORTVERSION= 2.1.7 +PORTREVISION= 1 CATEGORIES= games linux MASTER_SITES= http://jaymod.clanfu.org/lib/downloads/ \ http://budjb.com/lib/downloads/ \ @@ -38,7 +39,7 @@ RUN_DEPENDS+= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot do-build: .for f in et etded @(${ECHO_CMD} "#!/bin/sh"; \ - ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \ + ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/../omni-bot" "$$@"') > \ ${WRKSRC}/${f}-${PORTNAME} .endfor diff --git a/games/linux-enemyterritory-jaymod/Makefile b/games/linux-enemyterritory-jaymod/Makefile index a4886be678ca..15076a22aa5b 100644 --- a/games/linux-enemyterritory-jaymod/Makefile +++ b/games/linux-enemyterritory-jaymod/Makefile @@ -7,6 +7,7 @@ PORTNAME= jaymod PORTVERSION= 2.1.7 +PORTREVISION= 1 CATEGORIES= games linux MASTER_SITES= http://jaymod.clanfu.org/lib/downloads/ \ http://budjb.com/lib/downloads/ \ @@ -38,7 +39,7 @@ RUN_DEPENDS+= et-omni-bot:${PORTSDIR}/games/linux-enemyterritory-omni-bot do-build: .for f in et etded @(${ECHO_CMD} "#!/bin/sh"; \ - ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \ + ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/../omni-bot" "$$@"') > \ ${WRKSRC}/${f}-${PORTNAME} .endfor diff --git a/games/linux-enemyterritory-omni-bot-0660/Makefile b/games/linux-enemyterritory-omni-bot-0660/Makefile index 2299b2f33cd5..e095d76615f0 100644 --- a/games/linux-enemyterritory-omni-bot-0660/Makefile +++ b/games/linux-enemyterritory-omni-bot-0660/Makefile @@ -7,6 +7,7 @@ PORTNAME= omni-bot PORTVERSION= 0.66 +PORTREVISION= 1 CATEGORIES= games linux MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= alepulver @@ -27,7 +28,7 @@ DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME} do-build: .for f in et etded @(${ECHO_CMD} "#!/bin/sh"; \ - ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \ + ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}" "$$@"') > \ ${WRKSRC}/${f}-${PORTNAME} .endfor diff --git a/games/linux-enemyterritory-omni-bot/Makefile b/games/linux-enemyterritory-omni-bot/Makefile index 2299b2f33cd5..e095d76615f0 100644 --- a/games/linux-enemyterritory-omni-bot/Makefile +++ b/games/linux-enemyterritory-omni-bot/Makefile @@ -7,6 +7,7 @@ PORTNAME= omni-bot PORTVERSION= 0.66 +PORTREVISION= 1 CATEGORIES= games linux MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= alepulver @@ -27,7 +28,7 @@ DOCSDIR= ${PREFIX}/share/doc/enemyterritory-${PORTNAME} do-build: .for f in et etded @(${ECHO_CMD} "#!/bin/sh"; \ - ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}/omni-bot" "$$@"') > \ + ${ECHO_CMD} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} +set omnibot_path "${DATADIR}" "$$@"') > \ ${WRKSRC}/${f}-${PORTNAME} .endfor |