svn commit: r519637 - head/games/solarus
Danilo Egea Gondolfo
danilo at FreeBSD.org
Mon Dec 9 22:16:02 UTC 2019
Author: danilo
Date: Mon Dec 9 22:16:01 2019
New Revision: 519637
URL: https://svnweb.freebsd.org/changeset/ports/519637
Log:
- 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
Modified:
head/games/solarus/Makefile
head/games/solarus/pkg-plist
Modified: head/games/solarus/Makefile
==============================================================================
--- head/games/solarus/Makefile Mon Dec 9 22:09:43 2019 (r519636)
+++ head/games/solarus/Makefile Mon Dec 9 22:16:01 2019 (r519637)
@@ -3,6 +3,7 @@
PORTNAME= solarus
PORTVERSION= 1.6.2
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= games
MAINTAINER= danilo at 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
@@ -28,5 +28,21 @@ USE_QT= buildtools_build core gui linguisttools_build
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>
Modified: head/games/solarus/pkg-plist
==============================================================================
--- head/games/solarus/pkg-plist Mon Dec 9 22:09:43 2019 (r519636)
+++ head/games/solarus/pkg-plist Mon Dec 9 22:16:01 2019 (r519637)
@@ -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
More information about the svn-ports-head
mailing list