freebsd-ports/games/openarena/Makefile.include
Alexey Dokuchaev 459303bbf8 - Slightly improve usage description (comment) in quake2-data/Makefile.include
- Synchronize other games' -data/Makefile.include files (consistently use
  LOCALBASE, drop obvious comments, adjust formatting, etc.)
2013-05-12 06:35:05 +00:00

21 lines
434 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