1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/games/doomsday/Makefile

42 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
# $FreeBSD$
PORTNAME= doomsday
2020-02-08 20:48:43 +00:00
PORTVERSION= 2.2.2
CATEGORIES= games
MASTER_SITES= SF/deng/Doomsday%20Engine/${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Enhanced Doom, Heretic, and Hexen source port
LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:ftp/curl \
2018-01-06 17:12:25 +00:00
libassimp.so:multimedia/assimp \
libfluidsynth.so:audio/fluidsynth
RUN_DEPENDS= timidity:audio/timidity
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
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-03-28 12:52:21 +00:00
PORTSCOUT= limit:^\d+\.\d+\.\d+$$
post-patch:
2015-12-20 19:00:59 +00:00
# Removing (three) non-ascii bytes from the beginning of the file
@${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
.include <bsd.port.mk>