diff options
Diffstat (limited to 'games/love07/options.mk')
-rw-r--r-- | games/love07/options.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/games/love07/options.mk b/games/love07/options.mk new file mode 100644 index 00000000000..70d33e54892 --- /dev/null +++ b/games/love07/options.mk @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.1 2020/06/24 11:38:26 nia Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.love +PKG_SUPPORTED_OPTIONS= luajit + +.include "../../lang/LuaJIT2/platform.mk" +.if !empty(PLATFORM_SUPPORTS_LUAJIT:M[Yy][Ee][Ss]) +PKG_SUGGESTED_OPTIONS= luajit +.endif + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mluajit) +. include "../../lang/LuaJIT2/buildlink3.mk" +.else +SUBST_CLASSES+= lua +SUBST_STAGE.lua= pre-configure +SUBST_FILES.lua= configure +SUBST_SED.lua= -e 's,luajit-5.1,lua-5.1,g' +. include "../../lang/lua51/buildlink3.mk" +.endif |