Flavours would be a more natural fit for this - they don't have to conflict, for example see every pecl-* port.

--
 Sent from a phone, apologies for poor formatting.

On 9 November 2021 07:40:09 Omar Polo <[email protected]> wrote:

Upstream released today 3.8.0 which includes the patch, I'm attaching an
updated tarball.

Omar Polo <[email protected]> writes:

Hello ports@,

please find attached the tarball for luarocks:

% pkg_info | grep luarocks
luarocks5.1-3.7.0   package manager for lua 5.1
luarocks5.2-3.7.0   package manager for lua 5.2
luarocks5.3-3.7.0   package manager for lua 5.3
% pkg_info luarocks5.1
Information for inst:luarocks5.1-3.7.0

Comment:
package manager for lua 5.1

Description:
LuaRocks5.1 is the package manager for Lua 5.1 modules.  It allows
you to create and install Lua modules as self-contained packages
called rocks.

Maintainer: Omar Polo <[email protected]>

WWW: https://luarocks.org/

Install notice:
If you want to use this package as your default luarocks, as root
create symbolic links like so (overwriting any previous default):

 ln -sf /usr/local/bin/luarocks-5.1 /usr/local/bin/luarocks
 ln -sf /usr/local/bin/luarocks-admin-5.1 /usr/local/bin/luarocks-admin


It's loosely based on the one at openbsd-wip and instead of my last
attempt this time it doesn't use flavors but subpackages: this way is
possible to have installed multiple luarocks at the same time.

PKG_ARCH = * because it doesn't seem to actually compile anything, it
just prepares the lua files.

pkg/DESCR seems weirdly formatted, but after ${MODLUA_VERSION} gets
replaced with 5.X it actually reads nice IMHO; same story for
pkg/MESSAGE.

The only patch needed was merged upstream and will be available with the
next version.

Cheers,

Omar Polo

Reply via email to