diff options
author | jfitz <jfitz@FreeBSD.org> | 1996-10-24 08:11:12 +0000 |
---|---|---|
committer | jfitz <jfitz@FreeBSD.org> | 1996-10-24 08:11:12 +0000 |
commit | 8f7cd946c9d06e64146ddce7c6602471f98acbeb (patch) | |
tree | 5aa770174254f31cd4394d555fd3ee26bedf4eb0 /devel/p5-Config-IniFiles | |
parent | 02980c2bc1e54863d94a5b131f06a06d1536790c (diff) | |
download | FreeBSD-ports-8f7cd946c9d06e64146ddce7c6602471f98acbeb.zip FreeBSD-ports-8f7cd946c9d06e64146ddce7c6602471f98acbeb.tar.gz |
perl5 module for reading .ini-style configuration files.
Diffstat (limited to 'devel/p5-Config-IniFiles')
-rw-r--r-- | devel/p5-Config-IniFiles/Makefile | 33 | ||||
-rw-r--r-- | devel/p5-Config-IniFiles/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Config-IniFiles/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Config-IniFiles/pkg-descr | 17 | ||||
-rw-r--r-- | devel/p5-Config-IniFiles/pkg-plist | 5 |
5 files changed, 57 insertions, 0 deletions
diff --git a/devel/p5-Config-IniFiles/Makefile b/devel/p5-Config-IniFiles/Makefile new file mode 100644 index 0000000..51eb383 --- /dev/null +++ b/devel/p5-Config-IniFiles/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: p5-IniConf +# Version required: 0.91 +# Date created: October 21st 1996 +# Whom: James FitzGibbon <jfitz@FreeBSD.org> +# +# $Id$ +# + +DISTNAME= IniConf.pm-0.91 +PKGNAME= p5-IniConf-0.91 +CATEGORIES+= devel +MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/IniConf/ \ + ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/IniConf/ \ + ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/IniConf/ \ + ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/IniConf/ \ + ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/IniConf/ \ + ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/IniConf/ + +MAINTAINER= jfitz@FreeBSD.ORG + +BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 + +do-configure: + @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL + +post-install: +.if !defined(NOMANCOMPRESS) + @ for file in IniConf.pm; do \ + gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \ + done +.endif + +.include <bsd.port.mk> diff --git a/devel/p5-Config-IniFiles/distinfo b/devel/p5-Config-IniFiles/distinfo new file mode 100644 index 0000000..cc99ac8 --- /dev/null +++ b/devel/p5-Config-IniFiles/distinfo @@ -0,0 +1 @@ +MD5 (IniConf.pm-0.91.tar.gz) = 5b24be5b28ebf7b6105a7dc5481aac0d diff --git a/devel/p5-Config-IniFiles/pkg-comment b/devel/p5-Config-IniFiles/pkg-comment new file mode 100644 index 0000000..a2ae163 --- /dev/null +++ b/devel/p5-Config-IniFiles/pkg-comment @@ -0,0 +1 @@ +perl5 module for reading .ini-style configuration files. diff --git a/devel/p5-Config-IniFiles/pkg-descr b/devel/p5-Config-IniFiles/pkg-descr new file mode 100644 index 0000000..2b247d9 --- /dev/null +++ b/devel/p5-Config-IniFiles/pkg-descr @@ -0,0 +1,17 @@ +IniConf provides a way to have readable configuration files outside your +Perl script. The configuration can be safely reloaded upon receipt of a +signal. + +USAGE + +Get a new IniConf object with the new method: + + $cfg = IniConf->new( -file => "/path/configfile.ini" ); + $cfg = new IniConf -file => "/path/configfile.ini"; + +Optional named parameters may be specified after the configuration file +name. See the new in the METHODS section, below. INI files consist of a +number of sections, each preceeded with the section name in square brackets. +Parameters are specified in each section as Name=Value. Any spaces around +the equals sign will be ignored, and the value extends to the end of the +line diff --git a/devel/p5-Config-IniFiles/pkg-plist b/devel/p5-Config-IniFiles/pkg-plist new file mode 100644 index 0000000..fec4eaa --- /dev/null +++ b/devel/p5-Config-IniFiles/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/man/man3/IniConf.pm.3.gz +lib/perl5/site_perl/IniConf.pm +lib/perl5/site_perl/i386-freebsd/auto/IniConf.pm/.packlist +@dirrm lib/perl5/site_perl/i386-freebsd/auto/IniConf.pm + |