freebsd-ports/games/openarena/Makefile.include
Pav Lucistnik 3381d49785 - Update openarena to 0.8.5 and spin out two extra ports
- Move maintainership to the submitter

PR:		ports/146818
Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de>
Approved by:	old maintainer
2010-11-25 15:29:19 +00:00

23 lines
458 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(${PREFIX}/bin/oa_ded)
OABIN= oa_ded
.elif exists(${PREFIX}/bin/openarena)
OABIN= openarena
.else
OABIN= openarena-smp
.endif
.include <bsd.port.post.mk>