mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= doomsday
|
|
PORTVERSION= 1.15.8
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/deng/Doomsday%20Engine/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-stable-${PORTVERSION}
|
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
|
COMMENT= Enhanced Doom, Heretic, and Hexen source port
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libassimp.so:multimedia/assimp
|
|
RUN_DEPENDS= timidity:audio/timidity
|
|
|
|
USE_GL= gl glu
|
|
USE_LDCONFIG= yes
|
|
USE_SDL= sdl2 mixer2 net2
|
|
USE_XORG= x11
|
|
USES= compiler:c++11-lib execinfo pkgconfig python:build qmake:outsource
|
|
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
|
|
|
|
PORTSCOUT= limit:^\d+\.\d+\.\d+$$
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's,share/man,man,' \
|
|
${WRKSRC}/doomsday/client/client.pro \
|
|
${WRKSRC}/doomsday/server/server.pro
|
|
# Removing (three) non-ascii bytes from the beginning of the file
|
|
@${REINPLACE_CMD} '1s,^...,,' \
|
|
${WRKSRC}/doomsday/client/src/client/cl_sound.cpp
|
|
|
|
.include <bsd.port.mk>
|