Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 09:32:43 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r365735 - in head/games: . prboom-plus
Message-ID:  <20140825093243.GC66191@FreeBSD.org>
In-Reply-To: <201408231404.s7NE4Ds7036892@svn.freebsd.org>
References:  <201408231404.s7NE4Ds7036892@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allusion.net>
> +# $FreeBSD$
> +
> +PORTNAME=	prboom-plus
> +PORTVERSION=	2.5.1.3
> +CATEGORIES=	games
> +MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
> +
> +MAINTAINER=	thiagohero501@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@.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140825093243.GC66191>