Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
PORTNAME= solarus
|
|
PORTVERSION= 1.6.4
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
|
COMMENT= Zelda-like 2D game engine
|
|
WWW= http://wiki.solarus-games.org/doku.php
|
|
|
|
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
|
|
OPTIONS_DEFAULT_powerpc64le= 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:Mpowerpc64*}
|
|
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|