summaryrefslogtreecommitdiff
path: root/devel/p5-IniConf
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1996-10-24 08:11:12 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1996-10-24 08:11:12 +0000
commit5a823a9b6da10b6c98c75b1cc6b604090bd95c06 (patch)
tree063d0dff8b962cfaa5ebbf95788eadb72e6b41a6 /devel/p5-IniConf
parentperl5 package which allows the use of macros defined in 'C' header files. (diff)
perl5 module for reading .ini-style configuration files.
Notes
Notes: svn path=/head/; revision=4103
Diffstat (limited to 'devel/p5-IniConf')
-rw-r--r--devel/p5-IniConf/Makefile33
-rw-r--r--devel/p5-IniConf/distinfo1
-rw-r--r--devel/p5-IniConf/pkg-comment1
-rw-r--r--devel/p5-IniConf/pkg-descr17
-rw-r--r--devel/p5-IniConf/pkg-plist5
5 files changed, 57 insertions, 0 deletions
diff --git a/devel/p5-IniConf/Makefile b/devel/p5-IniConf/Makefile
new file mode 100644
index 000000000000..51eb383ffbcb
--- /dev/null
+++ b/devel/p5-IniConf/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-IniConf/distinfo b/devel/p5-IniConf/distinfo
new file mode 100644
index 000000000000..cc99ac870092
--- /dev/null
+++ b/devel/p5-IniConf/distinfo
@@ -0,0 +1 @@
+MD5 (IniConf.pm-0.91.tar.gz) = 5b24be5b28ebf7b6105a7dc5481aac0d
diff --git a/devel/p5-IniConf/pkg-comment b/devel/p5-IniConf/pkg-comment
new file mode 100644
index 000000000000..a2ae1634d79d
--- /dev/null
+++ b/devel/p5-IniConf/pkg-comment
@@ -0,0 +1 @@
+perl5 module for reading .ini-style configuration files.
diff --git a/devel/p5-IniConf/pkg-descr b/devel/p5-IniConf/pkg-descr
new file mode 100644
index 000000000000..2b247d9e949a
--- /dev/null
+++ b/devel/p5-IniConf/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-IniConf/pkg-plist b/devel/p5-IniConf/pkg-plist
new file mode 100644
index 000000000000..fec4eaa18404
--- /dev/null
+++ b/devel/p5-IniConf/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
+