aboutsummaryrefslogtreecommitdiff
path: root/games/openarena/Makefile.include
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-05-18 20:21:53 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-05-18 20:21:53 +0000
commit3b64ffeba3280ff8a220ae36696876ccc297897f (patch)
tree99e266cd9b7aaf695b1ed438bbf7caf5462291da /games/openarena/Makefile.include
parentc4ff8f3272e7e12d4eba66ed97680e48dfaf3f5a (diff)
downloadports-3b64ffeba3280ff8a220ae36696876ccc297897f.tar.gz
ports-3b64ffeba3280ff8a220ae36696876ccc297897f.zip
Notes
Diffstat (limited to 'games/openarena/Makefile.include')
-rw-r--r--games/openarena/Makefile.include6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/openarena/Makefile.include b/games/openarena/Makefile.include
index a0a0b848c472..46855f21953b 100644
--- a/games/openarena/Makefile.include
+++ b/games/openarena/Makefile.include
@@ -12,12 +12,10 @@ RUN_DEPENDS+= ${OABIN}:${PORTSDIR}/games/openarena
.include <bsd.port.pre.mk>
# You only need server or client.
-.if exists(${PREFIX}/bin/oa_ded)
+.if exists(${LOCALBASE}/bin/oa_ded)
OABIN= oa_ded
-.elif exists(${PREFIX}/bin/openarena)
+.elif exists(${LOCALBASE}/bin/openarena)
OABIN= openarena
.else
OABIN= openarena-smp
.endif
-
-.include <bsd.port.post.mk>