4e1b79a0a6
With hat: portmgr Sponsored by: Absolight
22 lines
425 B
Makefile
22 lines
425 B
Makefile
PKGNAMEPREFIX?= openarena-
|
|
OADIR?= ${PREFIX}/share/openarena
|
|
DATADIR?= ${OADIR}/${OABASE}
|
|
OABASE?= baseoa
|
|
|
|
PLIST_SUB+= OADIR="share/openarena"
|
|
|
|
.if ! ${OABASE:Mbaseoa}
|
|
RUN_DEPENDS+= openarena>0: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
|