aboutsummaryrefslogtreecommitdiff
path: root/graphics/magnum-extras/Makefile
blob: 408837d31ea0ba8ed30c8c068daaa81109c4248d (plain) (blame)
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
# $FreeBSD$

PORTNAME=	magnum-extras
DISTVERSIONPREFIX=	v
DISTVERSION=	2019.01
PORTREVISION=	1
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Extras for the Magnum C++11/C++14 graphics engine

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libassimp.so:multimedia/assimp \
		libCorradeUtility.so:devel/corrade \
		libfaad.so:audio/faad \
		libfreetype.so:print/freetype2 \
		libIL.so:graphics/devil \
		libMagnum.so:graphics/magnum \
		libpng.so:graphics/png

USES=		cmake compiler:c++14-lang gl sdl
USE_GITHUB=	yes
GH_ACCOUNT=	mosra
GH_TUPLE=	mosra:toolchains:fc22ff5:t/toolchains
USE_GL=		egl glesv2
USE_SDL=	sdl2
USE_LDCONFIG=	yes

CMAKE_ARGS=	-DLIB_SUFFIX:STRING=""

CMAKE_ON=	WITH_PLAYER WITH_UI WITH_UI_GALLERY

.include <bsd.port.mk>