The DOCS option is broken on Lua versions other than 5.2 (which was EOLed 3 years ago) because the pkg-plist thinks it can hardcode the package name. Same bug is in lua-stdlib-normalize.
Created attachment 195297 [details] Patch fixing DOCS Move documents under %%PORTDOCS%%%%DOCSDIR%%.
Created attachment 195319 [details] Suggested alternative patch That patch above is wrong for the same reasons as the equivalent patch for -normalize; it's making the docs location independent of Lua version, causing conflicts. I would suggest deleting the pkg-plist entirely - it's more trouble than it's worth for a trivial port like these - and do the work in the makefile as per the attached patch.
Created attachment 195337 [details] Patch fixing DOCS Move docs under doc/${PKGNAMEPREFIX}${PORTNAME}. I have tested with 5.2 and 5.3. I think the doc directory for this should be defined in .mk file such as lua.mk and docs should be placed under doc/lua${LUA_VER_STR}/${PORTNAME} like a ruby module. However, it will be a little big change, so I defined DOCSDIR at this time.
*** This bug has been marked as a duplicate of bug 231734 ***