blob: 2d6ecce0370103892d0e8c29465d7354cbebb52e (
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
41
42
43
44
45
46
47
48
49
50
51
|
PORTNAME= solarus
PORTVERSION= 1.6.4
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= games
MAINTAINER= danilo@FreeBSD.org
COMMENT= Zelda-like 2D game engine
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_COMMIT= f43727b232b3ed13d98440a845e2a29e470e4f0d
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
OPTIONS_DEFINE= LUAJIT
OPTIONS_DEFAULT_amd64= LUAJIT
OPTIONS_DEFAULT_i386= LUAJIT
OPTIONS_DEFAULT_powerpc= LUAJIT
OPTIONS_DEFAULT_powerpc64= LUAJIT
LUAJIT_CMAKE_BOOL= SOLARUS_USE_LUAJIT
LUAJIT_DESC= Use LuaJIT instead of standard Lua
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
LUAJIT_USES_OFF= lua:51
CMAKE_ARGS+= -DSOLARUS_MANUAL_INSTALL_DESTINATION:STRING="man"
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
.endif
.include <bsd.port.mk>
|