Thursday, September 09, 2021

[new] devel/luarocks

Hello ports,

I wanted to play with lua and ended up needing luarocks. I tried to
resurrect the luarocks ports on openbsd-wip by abieber@ and cschutijser.
With this I was able to install (locally) and use things like luasocket
or dkjson, and even lua-lsp ^^

I'm not sure about the FLAVORS bit, and I'm surely doing something wrong
with the PKGNAME

% cd /usr/ports/packages/amd64
% find all -type f -name '*lua*'
all/luarocks-3.7.0.tgz
all/lua53rocks-3.7.0.tgz
all/lua52rocks-3.7.0.tgz

but otherwise seems functional. I opted to rename the `luarocks' and
`luarocks-admin' executables so multiple flavors can be installed at the
same time (seems useful).

I'll try to upstream patch-src_luarocks_core_cfg_lua eventually.

Thoughts/comments?

Cheers,

Omar Polo

No comments:

Post a Comment