The logic behind this revision is:
- Review old notes and assumptions and clean up things unrequired
- Apply some logic to the way the port is built
- Prepare for possible inclusion of luarocks in base lua package
- [Possible integration of ports between lua revisions]
I will put comments inline about the changes, but the overall consideration is to patch the source and makefile as to be correct for the platform, then build it using the standard lua build target of "freebsd". I would like to eliminate the MAKEARGS in the middle and instead rename the files during install, or a preinstall step to copy the files. This further modification leaves the port output in a vanilla state and the executables can be used for other things.