2014-01-16 20:44:43 +00:00
|
|
|
# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= doomsday
|
2020-02-08 20:48:43 +00:00
|
|
|
PORTVERSION= 2.2.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}
|
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
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
2018-01-06 17:12:25 +00:00
|
|
|
libassimp.so:multimedia/assimp \
|
|
|
|
libfluidsynth.so:audio/fluidsynth
|
2016-04-01 14:00:51 +00:00
|
|
|
RUN_DEPENDS= timidity:audio/timidity
|
2014-01-16 20:44:43 +00:00
|
|
|
|
2019-11-10 12:38:56 +00:00
|
|
|
USES= cmake compiler:c++11-lib gl localbase:ldflags ncurses ninja openal pkgconfig \
|
2020-04-06 19:04:23 +00:00
|
|
|
python:3.5+,build qt:5 sdl xorg
|
2018-12-14 21:15:16 +00:00
|
|
|
|
2014-01-16 20:44:43 +00:00
|
|
|
USE_GL= gl glu
|
|
|
|
USE_LDCONFIG= yes
|
2018-01-06 17:12:25 +00:00
|
|
|
USE_SDL= sdl2 mixer2
|
|
|
|
USE_XORG= x11 sm ice xext xrandr xxf86vm
|
2019-02-23 15:55:03 +00:00
|
|
|
USE_QT= buildtools_build core gui network widgets qmake_build opengl x11extras
|
2018-01-06 17:12:25 +00:00
|
|
|
CMAKE_ARGS+= -DDENG_ENABLE_COTIRE=OFF -DDENG_ASSIMP_EMBEDDED=OFF
|
2018-12-14 21:15:16 +00:00
|
|
|
LDFLAGS+= -lexecinfo
|
2018-01-06 17:12:25 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
|
2014-01-16 20:44:43 +00:00
|
|
|
|
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:
|
2015-12-20 19:00:59 +00:00
|
|
|
# Removing (three) non-ascii bytes from the beginning of the file
|
2017-01-18 13:20:31 +00:00
|
|
|
@${REINPLACE_CMD} '1s,^...,,' \
|
2018-01-06 17:12:25 +00:00
|
|
|
${WRKSRC}/apps/client/src/client/cl_sound.cpp
|
|
|
|
@${REINPLACE_CMD} -E 's|(DENG_DISTRIB_DIR /usr)|\1/local|' \
|
|
|
|
${WRKSRC}/cmake/Config.cmake
|
2014-01-16 20:44:43 +00:00
|
|
|
|
2015-12-18 23:01:54 +00:00
|
|
|
.include <bsd.port.mk>
|