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