1 # Makefile for defining variables used by other Quake3 related ports. See
2 # `games/quake2-data/Makefile.include' for extensive description and usage.
4 Q3PKGNAMEPREFIX?= quake3-
5 Q3DIR?= ${LOCALBASE}/share/quake3
7 .if defined(PKGNAMEPREFIX) && ${PKGNAMEPREFIX} == ${Q3PKGNAMEPREFIX} && defined(OPTIONSMKINCLUDED)
8 IGNORE= is using Q3PKGNAMEPREFIX, but <bsd.port.options.mk> included too early
11 MAKE_ENV+= Q3DIR="${Q3DIR}"
12 PLIST_SUB+= Q3DIR="${Q3DIR:S|${LOCALBASE}/||}"
13 SUB_LIST+= Q3DIR="${Q3DIR}"
15 .if ${PORTNAME} != data
16 RUN_DEPENDS+= ${Q3DIR}/baseq3/pak1.pk3:games/quake3-data