Software that uses <application>Lua</application> may have been written to auto-detect the <application>Lua</application> version in use. In general ports should override this assumption, and force the use of the specific <application>Lua</application> version selected as described above. Depending on the sorftware being ported, this might require any or all of:
As the Ports Collection has grown over time, various new categories have been introduced. New categories can either be <emphasis>virtual</emphasis> categories—those that do not have a corresponding subdirectory in the ports tree— or <emphasis>physical</emphasis> categories—those that do. This section discusses the issues involved in creating a new physical category. Read it thouroughly before proposing a new one.
This operates the same way as the <literal>module</literal> parameter described above, but without the assumption that the package should be documented as a <application>Lua</application> module (so <varname>LUA_DOCSDIR</varname> and <varname>LUA_EXAMPLESDIR</varname> are not defined by default). However, the port may choose to define <varname>LUA_DOCSUBDIR</varname> as a suitable subdirectory name (usually the port's <varname>PORTNAME</varname> as long as this does not conflict with the <varname>PORTNAME</varname> of any module), in which case the framework will define both <varname>LUA_DOCSDIR</varname> and <varname>LUA_EXAMPLESDIR</varname>.
Isso funciona da mesma maneira que o parâmetro <literal>module</literal> descrito acima, mas sem a suposição de que o pacote deve ser documentado como um módulo <application>Lua</application> (então <<varname>LUA_DOCSDIR</varname> e <varname>LUA_EXAMPLESDIR</varname> não são definidos por padrão). No entanto, o port pode escolher definir <varname>LUA_DOCSUBDIR</varname> como um nome de subdiretório adequado (geralmente o <varname>PORTNAME</varname> do port, desde que não entre em conflito com o <varname>PORTNAME</varname> de qualquer módulo), caso em que a estrutura definirá <varname>LUA_DOCSDIR</varname> e <varname>LUA_EXAMPLESDIR</varname>.
translator-credits
Silvio Ap Silva, contato@kanazuchi.com, 2018
Mauro Risonho de Paula Assumpção, mauro.risonho@gmail.com, 2018
André Franciosi, andre@franciosi.org, 2018
Edson Brandi, ebrandi@FreeBSD.org, 2018
Danilo G. Baio, dbaio@FreeBSD.org, 2018,-201920
Lucas Andrade, slucasandrade@protonmail.ch, 2018
Eduardo Elias El Assais, eassais@gmail.com, 2018
Mauro Risonho de Paula Assumpção, mauro.risonho@gmail.com, 2018
André Franciosi, andre@franciosi.org, 2018
Edson Brandi, ebrandi@FreeBSD.org, 2018
Danilo G. Baio, dbaio@FreeBSD.org, 2018
Lucas Andrade, slucasandrade@protonmail.ch, 2018
Eduardo Elias El Assais, eassais@gmail.com, 2018
<prompt>#</prompt> <userinput>poudriere ports -l</userinput>
PORTSTREE METHOD TIMESTAMP PATH
default svn+https 2020-07-20 04:23:56 /poudriere/ports/default
PORTSTREE METHOD TIMESTAMP PATH
default svn+https 2020-07-20 04:23:56 /poudriere/ports/default
<prompt>#</prompt> <userinput>poudriere ports -l</userinput>
PORTSTREE METHOD TIMESTAMP PATH
default svn+https 2020-07-20 04:23:56 /poudriere/ports/default
PORTSTREE METHOD TIMESTAMP PATH
default svn+https 2020-07-20 04:23:56 /poudriere/ports/default