1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/games/openarena/Makefile.include
Ruslan Makhmatkhanov 3b64ffeba3 - split out -server part from ioquake3-based ports:
- games/ioquake3-devel-server added
  - games/ioquake3-server added
  - games/iourbanterror-server
  - games/openarena-server added
- update games/ioquake3-devel to svn revision 2244
- update games/openarena to 0.8.8
- update games/openarena-data to 0.8.8

Doing this in single commit since all this ports are
tightly interconnected.

PR:		ports/165842
Submitted by:	Dominic Fandrey <kamikaze at bsdforen dot de> (maintainer)
2012-05-18 20:21:53 +00:00

22 lines
435 B
Makefile

PKGNAMEPREFIX?= openarena-
OADIR?= ${PREFIX}/share/openarena
DATADIR?= ${OADIR}/${OABASE}
OABASE?= baseoa
PLIST_SUB+= OADIR="share/openarena"
.if ! ${OABASE:Mbaseoa}
RUN_DEPENDS+= ${OABIN}:${PORTSDIR}/games/openarena
.endif
.include <bsd.port.pre.mk>
# You only need server or client.
.if exists(${LOCALBASE}/bin/oa_ded)
OABIN= oa_ded
.elif exists(${LOCALBASE}/bin/openarena)
OABIN= openarena
.else
OABIN= openarena-smp
.endif