blob: 3f09be97c0bf1abfacb643e5fc9d6e64de2f96a8 (
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
39
40
|
PORTNAME= magnum-examples
DISTVERSIONPREFIX= v
DISTVERSION= 2019.10
PORTREVISION= 0
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
COMMENT= Examples for the Magnum C++11/C++14 graphics engine
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libBox2D.so:misc/box2d \
libCorradeUtility.so:devel/corrade \
libglfw.so:graphics/glfw \
libMagnum.so:graphics/magnum
USES= cmake compiler:c++14-lang gl localbase:ldflags openal sdl xorg
USE_GITHUB= yes
GH_ACCOUNT= mosra
GH_TUPLE= mosra:toolchains:fc22ff5:t/toolchains
USE_GL= gl egl glesv2
USE_SDL= sdl2
USE_XORG= ice sm x11 xext
LDFLAGS+= -lGL # only missing for one example
LDFLAGS_i386= -Wl,-znotext
CMAKE_ARGS= -DLIB_SUFFIX:STRING=""
CMAKE_ON= WITH_AUDIO_EXAMPLE WITH_BOX2D_EXAMPLE WITH_CUBEMAP_EXAMPLE \
WITH_MOUSEINTERACTION_EXAMPLE WITH_MOTIONBLUR_EXAMPLE \
WITH_PRIMITIVES_EXAMPLE WITH_TEXT_EXAMPLE WITH_TEXTUREDTRIANGLE_EXAMPLE \
WITH_TRIANGLE_EXAMPLE WITH_TRIANGLE_PLAIN_GLFW_EXAMPLE WITH_VIEWER_EXAMPLE
# examples that failed to build:
CMAKE_OFF= WITH_AREALIGHTS_EXAMPLE WITH_BULLET_EXAMPLE WITH_IMGUI_EXAMPLE WITH_LEAPMOTION_EXAMPLE \
WITH_OVR_EXAMPLE WITH_PICKING_EXAMPLE WITH_SHADOWS_EXAMPLE WITH_TRIANGLE_SOKOL_EXAMPLE WITH_WEBVR_EXAMPLE
.include <bsd.port.mk>
|