1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/games/solarus/Makefile
Dmitry Marakasov b35bdcd8fa math/glm: update 0.9.9.8 → 1.0.1
Some parts of glm were retroactively marked as experimental, and using
now leads to a compile error - added override for this error to consumers
which need it.
2024-03-02 00:00:07 +03:00

49 lines
1.2 KiB
Makefile

PORTNAME= solarus
PORTVERSION= 1.6.5
DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= danilo@FreeBSD.org
COMMENT= Zelda-like 2D game engine
WWW= https://www.solarus-games.org
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/license.txt
LIB_DEPENDS= libphysfs.so:devel/physfs \
libmodplug.so:audio/libmodplug \
libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg
RUN_DEPENDS= glm>0:math/glm
BUILD_DEPENDS= glm>0:math/glm
USES= cmake:noninja compiler:c++11-lib gl openal qmake qt:5 sdl xorg
USE_GITLAB= yes
GL_ACCOUNT= solarus-games
GL_TAGNAME= 21a378a7858460809ffef1c96a07a493d709730c
MAKE_ARGS+= DESTDIR=${STAGEDIR}
USE_QT= buildtools:build core gui linguisttools:build widgets
USE_SDL= sdl2 ttf2 image2
USE_GL= gl glu
USE_LDCONFIG= yes
CXXFLAGS+= -DGLM_ENABLE_EXPERIMENTAL # GLM_GTX_matrix_transform_2d is an experimental extension
OPTIONS_DEFINE= LUAJIT
OPTIONS_DEFAULT_amd64= LUAJIT
OPTIONS_DEFAULT_i386= LUAJIT
OPTIONS_DEFAULT_powerpc= LUAJIT
OPTIONS_DEFAULT_powerpc64= LUAJIT
OPTIONS_DEFAULT_powerpc64le= LUAJIT
LUAJIT_CMAKE_BOOL= SOLARUS_USE_LUAJIT
LUAJIT_DESC= Use LuaJIT instead of standard Lua
LUAJIT_USES= luajit
LUAJIT_USES_OFF= lua:51
CMAKE_ARGS+= -DSOLARUS_MANUAL_INSTALL_DESTINATION:STRING="man"
.include <bsd.port.mk>