Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 00:18:50 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28565: New port: devel/p5-Config-Setting
Message-ID:  <200107010418.f614Ioj29627@electron.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         28565
>Category:       ports
>Synopsis:       New port: devel/p5-Config-Setting
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 30 21:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #7: Mon Jun 11 10:15:45 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

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

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Config-Setting
#	p5-Config-Setting/pkg-descr
#	p5-Config-Setting/pkg-plist
#	p5-Config-Setting/distinfo
#	p5-Config-Setting/Makefile
#	p5-Config-Setting/pkg-comment
#
echo c - p5-Config-Setting
mkdir -p p5-Config-Setting > /dev/null 2>&1
echo x - p5-Config-Setting/pkg-descr
sed 's/^X//' >p5-Config-Setting/pkg-descr << 'END-of-p5-Config-Setting/pkg-descr'
XA perl module that is designed to provide easy to use settings
Xfiles for your project. You subclass the basic Config::Setting
Xclass in one of your own modules, and then provide an interface to
Xyour code using it. When set up, you can then override the settings
Xon a per-host basis, or even using an environment variable.
X
XBy default a win.ini style of configuration is used, but this can
Xbe overridden and an XML based configuration is also included. The
Xaccess mechanism can also be overridden, the setting don't have to
Xcome from a file, but (maybe) from a website. You'll have to write
Xyour own there, though.
X
XWWW: http://www.myrddin.demon.co.uk/Config-Setting.html
X
X- Pete
Xpetef@databits.net
END-of-p5-Config-Setting/pkg-descr
echo x - p5-Config-Setting/pkg-plist
sed 's/^X//' >p5-Config-Setting/pkg-plist << 'END-of-p5-Config-Setting/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/Config/Setting.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Config/Setting/FileProvider.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Config/Setting/IniParser.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Config/Setting/XMLParser.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config/Setting/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config/Setting
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config 2>/dev/null || true
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/Config/Setting
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Config 2>/dev/null || true
END-of-p5-Config-Setting/pkg-plist
echo x - p5-Config-Setting/distinfo
sed 's/^X//' >p5-Config-Setting/distinfo << 'END-of-p5-Config-Setting/distinfo'
XMD5 (Config-Setting-0.01.tar.gz) = 99296fec870ad23e05f30a3c9751e935
END-of-p5-Config-Setting/distinfo
echo x - p5-Config-Setting/Makefile
sed 's/^X//' >p5-Config-Setting/Makefile << 'END-of-p5-Config-Setting/Makefile'
X# New ports collection makefile for:	p5-Config-Setting
X# Date created:				1 July 2001
X# Whom:					petef@databits.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Config-Setting
XPORTVERSION=	0.01
XCATEGORIES=	devel perl5
XMASTER_SITES=	http://www.myrddin.demon.co.uk/dist/
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	petef@databits.net
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
X
XPERL_CONFIGURE=	yes
X
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN3=	Config::Setting.3 \
X	Config::Setting::Fileprovider.3 \
X	Config::Setting::IniParser.3 \
X	Config::Setting::XMLParser.3
X
X.include <bsd.port.mk>
END-of-p5-Config-Setting/Makefile
echo x - p5-Config-Setting/pkg-comment
sed 's/^X//' >p5-Config-Setting/pkg-comment << 'END-of-p5-Config-Setting/pkg-comment'
XA class that provides an easy interface to use config files
END-of-p5-Config-Setting/pkg-comment
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107010418.f614Ioj29627>