3381d49785
- Move maintainership to the submitter PR: ports/146818 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> Approved by: old maintainer
23 lines
458 B
Makefile
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>
|