1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/fs2open/Makefile
Piotr Kubaj 2f8c589c81 games/fs2open: fix build
Build with Clang 10 fails.
2020-05-12 22:52:43 +00:00

39 lines
917 B
Makefile

# $FreeBSD$
PORTNAME= fs2open
DISTVERSIONPREFIX= release_
DISTVERSION= 19_0_0
CATEGORIES= games
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= Open source video engine of FreeSpace 2
LICENSE= VOLITION
LICENSE_NAME= Volition Copyright
LICENSE_FILE= ${WRKSRC}/Copying.md
LICENSE_PERMS= dist-mirror auto-accept
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libpng.so:graphics/png
USES= cmake compiler:gcc-c++11-lib lua:51 jpeg openal pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= scp-fs2open
GH_PROJECT= fs2open.github.com
GH_TUPLE= asarium:cmake-modules:7cef957:cmakemodules/cmake/external/rpavlik-cmake-modules \
asarium:libRocket:6e5f399:libRocket/lib/libRocket
USE_SDL= sdl2
CMAKE_OFF= ENABLE_COTIRE
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen
LDFLAGS_i386= -Wl,-znotext
PLIST_FILES= bin/fs2_open
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/fs2_open \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>