Created attachment 208317 [details] Fix options Fix Makefile to respect DOCS and EXAMPLES options. Add options to select which version of Lua to build for.
Sorry for late but only now have time. I agree about specify Lua version but as I check the Porter's Handbook (https://www.freebsd.org/doc/en/books/porters-handbook/book.html#using-lua) and some other Lua port (for example devel/lua-cjson): doesn't need (and wrong way) create options. The user shouldn't choose Lua version - it specified with LUA_VER variable. If you want (and have time) do this - do it! :) If you don't have enough time I'll do it in some days. Thanks for report!
A commit references this bug: Author: swills Date: Mon Jan 6 14:18:52 UTC 2020 New revision: 522237 URL: https://svnweb.freebsd.org/changeset/ports/522237 Log: devel/lua-sysctl: Fix Makefile to respect DOCS and EXAMPLES options. PR: 241249 Submitted by: yds <yds@Necessitu.de> Approved by: Zsolt Udvari <uzsolt@uzsolt.hu> (maintainer) Changes: head/devel/lua-sysctl/Makefile head/devel/lua-sysctl/pkg-plist
Committed, thanks!