svn commit: r365735 - in head/games: . prboom-plus

Adam Weinberger adamw at FreeBSD.org
Sat Aug 23 14:04:14 UTC 2014


Author: adamw
Date: Sat Aug 23 14:04:12 2014
New Revision: 365735
URL: http://svnweb.freebsd.org/changeset/ports/365735
QAT: https://qat.redports.org/buildarchive/r365735/

Log:
  Add games/prboom-plus, a fork of games/prboom.
  
  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 at gmail.com

Added:
  head/games/prboom-plus/
  head/games/prboom-plus/Makefile   (contents, props changed)
  head/games/prboom-plus/Makefile.include   (contents, props changed)
  head/games/prboom-plus/distinfo   (contents, props changed)
  head/games/prboom-plus/pkg-descr   (contents, props changed)
  head/games/prboom-plus/pkg-plist   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sat Aug 23 14:03:26 2014	(r365734)
+++ head/games/Makefile	Sat Aug 23 14:04:12 2014	(r365735)
@@ -746,6 +746,7 @@
     SUBDIR += powwow
     SUBDIR += ppracer
     SUBDIR += prboom
+    SUBDIR += prboom-plus
     SUBDIR += primateplunge
     SUBDIR += ptkei
     SUBDIR += ptools

Added: head/games/prboom-plus/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/prboom-plus/Makefile	Sat Aug 23 14:04:12 2014	(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
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libsmpeg.so:${PORTSDIR}/multimedia/smpeg \
+		libpng.so:${PORTSDIR}/graphics/png
+
+CONFLICTS=	prboom-[2]*
+
+USES=		gmake
+USE_SDL=	mixer net sdl
+NEED_ROOT=	yes
+
+GNU_CONFIGURE=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ARGS+=--with-waddir=${DATADIR}
+
+OPTIONS_DEFINE=	OPENGL
+OPTIONS_DEFAULT=OPENGL
+
+DATADIR=	${DMDIR}
+
+OPENGL_CONFIGURE_ENABLE=	gl
+OPENGL_USE=	GL=yes
+
+post-patch:
+	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
+		-e '/^gamesdir/s|/games|/bin|' \
+		-e '/^docdir/s/@PACKAGE at -@VERSION@/@PACKAGE@/'
+
+.include "${.CURDIR}/Makefile.include"
+
+.include <bsd.port.mk>

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

Added: head/games/prboom-plus/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/prboom-plus/distinfo	Sat Aug 23 14:04:12 2014	(r365735)
@@ -0,0 +1,2 @@
+SHA256 (prboom-plus-2.5.1.3.tar.gz) = 0a406fa9d275fbde94afcf726cbff6d3a022f83b413dbfb6d131872e4642668f
+SIZE (prboom-plus-2.5.1.3.tar.gz) = 1465003

Added: head/games/prboom-plus/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/prboom-plus/pkg-descr	Sat Aug 23 14:04:12 2014	(r365735)
@@ -0,0 +1,5 @@
+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/

Added: head/games/prboom-plus/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/prboom-plus/pkg-plist	Sat Aug 23 14:04:12 2014	(r365735)
@@ -0,0 +1,20 @@
+bin/prboom-plus
+bin/prboom-plus-game-server
+man/man5/prboom-plus.cfg.5.gz
+man/man6/prboom-plus.6.gz
+man/man6/prboom-plus-game-server.6.gz
+%%DATADIR%%/prboom-plus.wad
+ at dirrmtry %%DATADIR%%
+%%PORTDOCS%%%%DOCSDIR%%/MBF.txt
+%%PORTDOCS%%%%DOCSDIR%%/MBFFAQ.txt
+%%PORTDOCS%%%%DOCSDIR%%/README.compat
+%%PORTDOCS%%%%DOCSDIR%%/README.demos
+%%PORTDOCS%%%%DOCSDIR%%/boom.txt
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/prboom-plus-history.html
+%%PORTDOCS%%%%DOCSDIR%%/prboom-plus-history.txt
+%%PORTDOCS%%%%DOCSDIR%%/prboom-plus-usage.txt
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%


More information about the svn-ports-all mailing list