Possible solutions to add the missing packages to pkgsrc: 1) Rework upstream configure and Makefiles (and try to upstream them with pull-requests) 2) Add a compatibility layer of .luarocks used in pkgsrc, that extracts rules from .rocks shipped with packages 3) Add luarocks2pkg that generates packages's files for pkgsrc (DESCR, PLIST, Makefile..) 4) Leave it as it is and use luarocks the upstream way, not managed in pkgsrc I think only 2 and 3 are reasonably possible. Option 2 is basically what is done for python, perl, and I think ruby. See pkgsrc/lang/python/egg.mk, pkgsrc/lang/perl5/module.mk, pkgsrc/lang/ruby/gem.mk. Also probably read all the rest of the .mk files in those directories.
Attachment:
pgpScsdYMgWDq.pgp
Description: PGP signature