Date: Mon, 9 Dec 2019 22:16:02 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519637 - head/games/solarus Message-ID: <201912092216.xB9MG211027393@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912092216.xB9MG211027393>