p5-Config-Setting is a perl module that is designed to provide easy to use
settings files for your project. You subclass the basic Config::Setting class in one of your own modules, and then provide an interface to your code using it. When set up, you can then override the settings on a per-host basis, or even using an environment variable. PR: 28565 Submitted by: Pete Fritchman <petef@databits.net>
This commit is contained in:
parent
304bf86d9a
commit
727985a6e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44607
@ -293,6 +293,7 @@
|
||||
SUBDIR += p5-Class-Singleton
|
||||
SUBDIR += p5-Class-Tom
|
||||
SUBDIR += p5-Config-IniFiles
|
||||
SUBDIR += p5-Config-Setting
|
||||
SUBDIR += p5-ConfigReader
|
||||
SUBDIR += p5-Curses
|
||||
SUBDIR += p5-Data-Compare
|
||||
|
26
devel/p5-Config-Setting/Makefile
Normal file
26
devel/p5-Config-Setting/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# New ports collection makefile for: p5-Config-Setting
|
||||
# Date created: 1 July 2001
|
||||
# Whom: petef@databits.net
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Config-Setting
|
||||
PORTVERSION= 0.01
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= http://www.myrddin.demon.co.uk/dist/
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= petef@databits.net
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= Config::Setting.3 \
|
||||
Config::Setting::Fileprovider.3 \
|
||||
Config::Setting::IniParser.3 \
|
||||
Config::Setting::XMLParser.3
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/p5-Config-Setting/distinfo
Normal file
1
devel/p5-Config-Setting/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Config-Setting-0.01.tar.gz) = 99296fec870ad23e05f30a3c9751e935
|
1
devel/p5-Config-Setting/pkg-comment
Normal file
1
devel/p5-Config-Setting/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A class that provides an easy interface to use config files
|
16
devel/p5-Config-Setting/pkg-descr
Normal file
16
devel/p5-Config-Setting/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
A perl module that is designed to provide easy to use settings
|
||||
files for your project. You subclass the basic Config::Setting
|
||||
class in one of your own modules, and then provide an interface to
|
||||
your code using it. When set up, you can then override the settings
|
||||
on a per-host basis, or even using an environment variable.
|
||||
|
||||
By default a win.ini style of configuration is used, but this can
|
||||
be overridden and an XML based configuration is also included. The
|
||||
access mechanism can also be overridden, the setting don't have to
|
||||
come from a file, but (maybe) from a website. You'll have to write
|
||||
your own there, though.
|
||||
|
||||
WWW: http://www.myrddin.demon.co.uk/Config-Setting.html
|
||||
|
||||
- Pete
|
||||
petef@databits.net
|
9
devel/p5-Config-Setting/pkg-plist
Normal file
9
devel/p5-Config-Setting/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Config/Setting.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Config/Setting/FileProvider.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Config/Setting/IniParser.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/Config/Setting/XMLParser.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config/Setting/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config/Setting
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config 2>/dev/null || true
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Config/Setting
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Config 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user