2014-08-23 16:04:12 +02:00
|
|
|
# Created by: Jordan DeLong <fracture@allusion.net>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= prboom-plus
|
|
|
|
PORTVERSION= 2.5.1.3
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 3
|
2014-08-23 16:04:12 +02:00
|
|
|
CATEGORIES= games
|
2016-05-18 15:33:36 +02:00
|
|
|
MASTER_SITES= SF
|
2014-08-23 16:04:12 +02:00
|
|
|
|
|
|
|
MAINTAINER= thiagohero501@gmail.com
|
2014-08-25 16:18:55 +02:00
|
|
|
COMMENT= Fork of the prboom Doom game engine
|
2014-08-23 16:04:12 +02:00
|
|
|
|
2016-05-18 15:33:36 +02:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2014-08-23 16:04:12 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \
|
|
|
|
libpng.so:graphics/png
|
2014-08-23 16:04:12 +02:00
|
|
|
|
2016-05-18 15:33:36 +02:00
|
|
|
USES= gmake localbase
|
2014-08-23 16:04:12 +02:00
|
|
|
USE_SDL= mixer net sdl
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2016-05-18 15:33:36 +02:00
|
|
|
CONFIGURE_ARGS= --with-waddir=${DATADIR}
|
2014-08-23 16:04:12 +02:00
|
|
|
|
|
|
|
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@-@VERSION@/@PACKAGE@/'
|
|
|
|
|
|
|
|
.include "${.CURDIR}/Makefile.include"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|