2014-01-16 20:44:43 +00:00
|
|
|
# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= doomsday
|
2016-02-05 01:20:08 +00:00
|
|
|
PORTVERSION= 1.15.8
|
2016-03-27 07:34:57 +00:00
|
|
|
PORTREVISION= 2
|
2014-01-16 20:44:43 +00:00
|
|
|
CATEGORIES= games
|
2014-01-18 19:44:47 +00:00
|
|
|
MASTER_SITES= SF/deng/Doomsday%20Engine/${PORTVERSION}
|
2015-12-20 19:00:59 +00:00
|
|
|
DISTNAME= ${PORTNAME}-stable-${PORTVERSION}
|
2014-01-16 20:44:43 +00:00
|
|
|
|
2014-04-27 00:40:18 +00:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2014-01-16 20:44:43 +00:00
|
|
|
COMMENT= Enhanced Doom, Heretic, and Hexen source port
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 14:00:51 +00:00
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
|
|
libassimp.so:multimedia/assimp
|
|
|
|
RUN_DEPENDS= timidity:audio/timidity
|
2014-01-16 20:44:43 +00:00
|
|
|
|
|
|
|
USE_GL= gl glu
|
|
|
|
USE_LDCONFIG= yes
|
2015-12-20 19:00:59 +00:00
|
|
|
USE_SDL= sdl2 mixer2 net2
|
2014-01-16 20:44:43 +00:00
|
|
|
USE_XORG= x11
|
2015-12-20 19:00:59 +00:00
|
|
|
USES= compiler:c++11-lib execinfo pkgconfig python:build qmake:outsource
|
2014-01-16 20:44:43 +00:00
|
|
|
USE_QT4= corelib network opengl moc_build
|
|
|
|
QMAKE_SOURCE_PATH= ${WRKSRC}/doomsday
|
|
|
|
QMAKE_ARGS+= QMAKE_LFLAGS+="-Wl,--export-dynamic" \
|
|
|
|
CONFIG+="deng_notools deng_nosnowberry" \
|
|
|
|
SCRIPT_PYTHON=${PYTHON_CMD}
|
|
|
|
LDFLAGS+= -lm
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= OPENAL
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
OPENAL_DESC= Build OpenAL sound plugin
|
|
|
|
OPENAL_USES= openal:al
|
|
|
|
OPENAL_QMAKE_ON= CONFIG+=deng_openal
|
|
|
|
OPENAL_QMAKE_OFF= CONFIG+=deng_noopenal
|
|
|
|
|
2014-03-28 12:52:21 +00:00
|
|
|
PORTSCOUT= limit:^\d+\.\d+\.\d+$$
|
2014-03-25 20:11:48 +00:00
|
|
|
|
2014-01-16 20:44:43 +00:00
|
|
|
post-patch:
|
2014-04-27 00:40:18 +00:00
|
|
|
@${REINPLACE_CMD} 's,share/man,man,' \
|
2015-12-20 19:00:59 +00:00
|
|
|
${WRKSRC}/doomsday/client/client.pro \
|
|
|
|
${WRKSRC}/doomsday/server/server.pro
|
|
|
|
# Removing (three) non-ascii bytes from the beginning of the file
|
|
|
|
@LANG=C ${REINPLACE_CMD} '1s,^...,,' \
|
|
|
|
${WRKSRC}/doomsday/client/src/client/cl_sound.cpp
|
2014-01-16 20:44:43 +00:00
|
|
|
|
2015-12-18 23:01:54 +00:00
|
|
|
.include <bsd.port.mk>
|