aboutsummaryrefslogblamecommitdiff
path: root/games/prboom-plus/Makefile.include
blob: af2935d30d7ac72b006faa82e977d8d13cc88b4c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                  
# Makefile for defining variables used by other Doom related ports.

DMPKGNAMEPREFIX?=	doom-
DMDIR?=		${LOCALBASE}/share/doom

.if defined(PKGNAMEPREFIX) && ${PKGNAMEPREFIX} == ${DMPKGNAMEPREFIX} && defined(OPTIONSMKINCLUDED)
.  error include before <bsd.port.options.mk> if using DMPKGNAMEPREFIX
.endif

MAKE_ENV+=	DMDIR="${DMDIR}"
PLIST_SUB+=	DMDIR="${DMDIR:S/${LOCALBASE}\///}"
SUB_LIST+=	DMDIR="${DMDIR}"