summaryrefslogtreecommitdiff
path: root/graphics/magnum/Makefile
blob: a91ef7d83bed15d144d1805cee4bf878f67932ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

PORTNAME=	magnum
DISTVERSIONPREFIX=	v
DISTVERSION=	2019.10
PORTREVISION=	0
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Lightweight, modular graphics middleware for games, data visualization

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN=		Player.hpp:193:32: error: too few arguments provided to function-like macro invocation

LIB_DEPENDS=	libCorradeUtility.so:devel/corrade \
		libglfw.so:graphics/glfw

USES=		cmake compiler:c++14-lang gl openal sdl xorg
USE_GITHUB=	yes
GH_ACCOUNT=	mosra
GH_TUPLE=	mosra:toolchains:a3e0aff:t/toolchains
USE_GL=		gl egl
USE_SDL=	sdl2
USE_XORG=	x11
USE_LDCONFIG=	yes

CMAKE_ARGS=	-DLIB_SUFFIX:STRING=""

CMAKE_ON=	BUILD_SHARED_LIBS \
		TARGET_GLES WITH_GL_INFO WITH_IMAGECONVERTER WITH_ANYIMAGEIMPORTER WITH_ANYAUDIOIMPORTER \
		WITH_ANYIMAGECONVERTER WITH_ANYSCENEIMPORTER WITH_WAVAUDIOIMPORTER WITH_MAGNUMFONT WITH_OBJIMPORTER \
		WITH_SHAPES WITH_SHADERS WITH_TEXT WITH_TEXTURETOOLS WITH_TRADE \
		WITH_GL WITH_PRIMITIVES WITH_EGLCONTEXT WITH_GLXAPPLICATION WITH_WINDOWLESSGLXAPPLICATION \
		WITH_GLXCONTEXT WITH_XEGLAPPLICATION WITH_GLFWAPPLICATION WITH_SDL2APPLICATION
CMAKE_OFF=	TARGET_GLES2

.include <bsd.port.mk>