svn commit: r365735 - in head/games: . prboom-plus
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Aug 25 09:32:43 UTC 2014
On Sat, Aug 23, 2014 at 02:04:13PM +0000, Adam Weinberger wrote:
> New Revision: 365735
> URL: http://svnweb.freebsd.org/changeset/ports/365735
> QAT: https://qat.redports.org/buildarchive/r365735/
>
> @@ -0,0 +1,43 @@
> +# Created by: Jordan DeLong <fracture at allusion.net>
> +# $FreeBSD$
> +
> +PORTNAME= prboom-plus
> +PORTVERSION= 2.5.1.3
> +CATEGORIES= games
> +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
> +
> +MAINTAINER= thiagohero501 at gmail.com
> +COMMENT= A fork of the doom game engine prboom
COMMENT line is wrong. :)
> Added: head/games/prboom-plus/Makefile.include
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/games/prboom-plus/Makefile.include Sat Aug 23 14:04:12 2014 (r365735)
> @@ -0,0 +1,24 @@
> +# 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
This looks like the old version of the doom-data/Makefile.include file. Why
it was copied here. Submitter should've taken a look at other Doom ports to
see how to properly use this file.
It would be nice to have this patch first reviewed by games at .
./danfe
More information about the svn-ports-all
mailing list