The ConfigReader library is a set of classes which reads
directives from a configuration file. The library is
completely object oriented, and it is envisioned that
parsers for new styles of configuration files can be
easily added.
ConfigReader::Spec encapsulates a specification for
configuration directives. You can specify which
directives can be in the configuration file, aliases for
the directive, whether the directive is required or has a
default value, and how to parse the directive value.
Here's an example of how one directive might be specified:
required $spec 'HomePage', 'new URI::URL';
This defines a required directive called 'HomePage'. To
parse the value from the configuration file, the
URI::URL::new() method will be called with the string
value as its argument.
use 'perldoc ConfigReader' for more information.
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav)
- bumped PORTREVISION because this perl module didn't work - fix installation
path of this perl module because this command failed: perl
-M'ConfigReader::DirectiveStyle' -e 1 ConfigReader files have to be put
under lib/perl5/site_perl/%%PERL_VER%%/ instead of
lib/perl5/site_perl/ - now my new port FlowScan finds the
ConfigReader::DirectiveStyle PM. "configure:1271: checking for
ConfigReader::DirectiveStyle"