ports/188889: Patch for prboom port.

Thiago thiagohero501 at gmail.com
Tue Apr 22 13:20:00 UTC 2014


>Number:         188889
>Category:       ports
>Synopsis:       Patch for prboom port.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 22 13:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Thiago
>Release:        
>Organization:
>Environment:
>Description:
Path for prboom.
>How-To-Repeat:

>Fix:
Removed doom-data as depedency.
NEW MAINTAINER.
LICENSE variable set.
doom-data's Makefile.include has included in the prboom port.With modfications.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 351827)
+++ Makefile	(working copy)
@@ -1,5 +1,6 @@
 # Created by: Jordan DeLong <fracture at allusion.net>
 # $FreeBSD$
+# $FreeBSD$
 
 PORTNAME=	prboom
 PORTVERSION=	2.5.0
@@ -7,9 +8,11 @@
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	thiagohero501 at gmail.com
 COMMENT=	Multiplayer-capable and modified version of ID's classic DOOM game
 
+LICENSE=	GPLv2
+
 LIB_DEPENDS=	libsmpeg.so:${PORTSDIR}/multimedia/smpeg
 
 USES=		gmake
@@ -28,6 +31,6 @@
 OPENGL_CONFIGURE_ENABLE=	gl
 OPENGL_USE=	GL=yes
 
-.include "${.CURDIR}/../doom-data/Makefile.include"
+.include "${.CURDIR}/Makefile.include"
 
 .include <bsd.port.mk>
Index: Makefile.include
===================================================================
--- Makefile.include	(revision 0)
+++ Makefile.include	(working copy)
@@ -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

Property changes on: Makefile.include
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+FreeBSD=%H
\ No newline at end of property


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list