opnsense-ports/games/doom-data/Makefile.include
Franco Fichtner d543c3ab93 */*: sync with upstream
Taken from: FreeBSD
2016-04-02 16:03:17 +02:00

16 lines
485 B
Text

# 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}"
.if ${PORTNAME} != "data"
RUN_DEPENDS+= doom-data>0:games/doom-data
.endif