mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
12e263b358
Remove most of USES=zip:infozip PR: ports/188419 Approved by: portmgr (bapt) Exp-run: antoine
17 lines
494 B
Makefile
17 lines
494 B
Makefile
# 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+= ${DMDIR}:${PORTSDIR}/games/doom-data
|
|
.endif
|