aboutsummaryrefslogtreecommitdiff
path: root/games/openarena/Makefile.include
blob: 7adcac29c450a0f8f084f7ed1c6ee0958f5a56e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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