PortGroup perl5 allows for efficient porting of perl modules and other perl open source software.
Portfiles using the perl5 PortGroup allow for port authors to set the following keywords in addition to the general Portfile keywords.
This keyword sets the ${distfile} and ${version}.
Example:
perl5.setup Net-Telnet 3.03
Perl modules are ordinarily assumed to be built with ExtUtils::MakeMaker. Use this keyword if a module must be built using Module::Build instead.
Example:
perl5.use_module_build
Portfiles using PortGroup perl5 do not need to define the following variables:
When the perl5 PortGroup is declared within a Portfile, the following variables are provided during port install.
${prefix}/bin/perl
).