fefd8c8fff
A fork of PrBoom with uncapped framerate, variable gamespeed, re-record, walkcam, chasecam, full mouselook, fov and other features without loss of compatibility with original DOOM. WWW: http://prboom-plus.sourceforge.net/ PR: 188932 Submitted by: thiagohero501@gmail.com
24 lines
714 B
Text
24 lines
714 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 defined(USE_CRLF)
|
|
. if defined(USE_ZIP)
|
|
EXTRACT_BEFORE_ARGS= -aqo
|
|
. else
|
|
pre-patch:
|
|
@${FIND} ${WRKDIR} -type f -print0 | \
|
|
${XARGS} -0 ${FILE} | ${GREP} 'CRLF' | \
|
|
${SED} -e "s/:.*//" | ${SED} -e 's/ /\\ /g' | \
|
|
${XARGS} ${REINPLACE_CMD} -i "" -e "s/`${PRINTF} '\r'`$$//"
|
|
. endif
|
|
.endif
|