PortGroup perl5
PortGroup perl5 allows for efficient porting of perl modules and
other perl open source software.
perl5 PortGroup Specific Keywords
Portfiles using the perl5 PortGroup allow for port authors to set
the following keywords in addition to the general Portfile
keywords.
perl5.setup
This keyword sets the ${distfile} and ${version}.
Type: required
Example:
perl5.setup Net-Telnet 3.03
perl5 PortGroup Sugar
Portfiles using PortGroup perl5 do not need to define the
following variables:
categories
Default: perl
master_sites
Default: http://search.cpan.org/dist/${distname}
depends_lib
Default: perl5.8
use_configure
Default: no
perl5 PortGroup Specific Variables
When the perl5 PortGroup is declared within a Portfile, the
following variables are provided during port install.
perl5.version
The MacPorts Perl version.
perl5.bin
The Perl binary path (i.e.,
${prefix}/bin/perl).
perl5.lib
Path to the Perl vendor directory.
perl5.archlib
Path to the Perl architecture-dependent modules
directory.