mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
- Unbreak where luajit is unavailable by using lua instead
- Add LUAJIT option and enable it by default for architecures where it's supported PR: 239538 Submitted by: pkubaj
This commit is contained in:
parent
a16f53af09
commit
2e028be63e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519637
@ -3,6 +3,7 @@
|
||||
PORTNAME= solarus
|
||||
PORTVERSION= 1.6.2
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= danilo@FreeBSD.org
|
||||
@ -13,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/license.txt
|
||||
|
||||
LIB_DEPENDS= libphysfs.so:devel/physfs \
|
||||
libmodplug.so:audio/libmodplug \
|
||||
libluajit-5.1.so:lang/luajit \
|
||||
libvorbis.so:audio/libvorbis \
|
||||
libogg.so:audio/libogg
|
||||
|
||||
@ -29,4 +29,20 @@ 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
|
||||
|
||||
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"
|
||||
|
||||
post-install:
|
||||
${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man6/solarus-run.6 \
|
||||
${STAGEDIR}${PREFIX}/man/man6/solarus.6
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -522,5 +522,5 @@ share/icons/hicolor/32x32/apps/solarus.png
|
||||
share/icons/hicolor/48x48/apps/solarus.png
|
||||
share/icons/hicolor/512x512/apps/solarus.png
|
||||
share/icons/hicolor/64x64/apps/solarus.png
|
||||
share/man/man6/solarus-run.6
|
||||
share/man/man6/solarus.6
|
||||
man/man6/solarus-run.6.gz
|
||||
man/man6/solarus.6.gz
|
||||
|
Loading…
Reference in New Issue
Block a user