Index: head/devel/lua-luarocks/Makefile =================================================================== --- head/devel/lua-luarocks/Makefile (revision 543741) +++ head/devel/lua-luarocks/Makefile (revision 543742) @@ -1,54 +1,54 @@ # $FreeBSD$ PORTNAME= luarocks PORTVERSION= 3.3.1 CATEGORIES= devel MASTER_SITES= https://luarocks.org/releases/ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Package manager for Lua modules LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= curl:ftp/curl \ zip:archivers/zip USES= gmake uniquefiles CONFIGURE_ARGS= --lua-version=${LUA_VER} \ --prefix=${PREFIX} \ --with-lua-include=${LUA_INCDIR} HAS_CONFIGURE= yes NO_ARCH= yes UNIQUE_SUFFIX= ${LUA_VER_STR} UNIQUE_SUFFIX_FILES= bin/luarocks bin/luarocks-admin OPTIONS_DEFINE= LUAJIT LUAJIT_DESC= Use LuaJIT instead of Lua LUAJIT_BUILD_DEPENDS= luajit:lang/luajit LUAJIT_RUN_DEPENDS= luajit:lang/luajit LUAJIT_CONFIGURE_ON= --lua-suffix=jit LUAJIT_PLIST_SUB= LUA_VER=${LUA_VER} \ LUA_MODSHAREDIR=share/lua/${LUA_VER} LUAJIT_VARS= LUA_INCDIR=${LOCALBASE}/include/luajit-2.0 \ LUA_PKGNAMEPREFIX=lua51- \ LUA_VER=5.1 -LUAJIT_USES_OFF= lua +LUAJIT_USES_OFF= lua:flavors post-patch: # /usr/local is a mix of site-local data and packages installs. # If PREFIX/LOCALBASE changes, look for dependencies there as well. .if defined(PREFIX) && ${PREFIX} != "/usr/local" && ${PREFIX} != "/usr" @${REINPLACE_CMD} '/external_deps_dirs/ s|{ |&"${PREFIX}", |' \ ${WRKSRC}/src/luarocks/core/cfg.lua .endif post-install: # Let @sample manage default config ${MV} ${STAGEDIR}${ETCDIR}/config-${LUA_VER}.lua \ ${STAGEDIR}${ETCDIR}/config-${LUA_VER}.lua.sample .include Index: head/devel/lua-luarocks/pkg-descr =================================================================== --- head/devel/lua-luarocks/pkg-descr (revision 543741) +++ head/devel/lua-luarocks/pkg-descr (revision 543742) @@ -1,9 +1,9 @@ LuaRocks allows you to install Lua modules as self-contained packages called rocks, which also contain version dependency information. This information can be used both during installation, so that when one rock is requested all rocks it depends on are installed as well, and also optionally at run time, so that when a module is required, the correct version is loaded. LuaRocks supports both local and remote repositories, and multiple local rocks trees. -WWW: https://luarocks.org +WWW: https://luarocks.org/