1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/games/doomsday/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
# $FreeBSD$
PORTNAME= doomsday
PORTVERSION= 2.0.3
PORTREVISION= 3
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 \
libassimp.so:multimedia/assimp \
libfluidsynth.so:audio/fluidsynth
RUN_DEPENDS= timidity:audio/timidity
USES= cmake:outsource compiler:c++11-lib localbase:ldflags ninja openal pkgconfig python:2.7,build qt:5
USE_GL= gl glu
USE_LDCONFIG= yes
USE_SDL= sdl2 mixer2
USE_XORG= x11 sm ice xext xrandr xxf86vm
USE_QT= buildtools_build core gui network widgets qmake opengl x11extras
CMAKE_ARGS+= -DDENG_ENABLE_COTIRE=OFF -DDENG_ASSIMP_EMBEDDED=OFF
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
PORTSCOUT= limit:^\d+\.\d+\.\d+$$
post-patch:
# Removing (three) non-ascii bytes from the beginning of the file
@${REINPLACE_CMD} '1s,^...,,' \
${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>