From owner-freebsd-ports Sat Jun 30 21:30:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9A06137B405 for ; Sat, 30 Jun 2001 21:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f614U1J63477; Sat, 30 Jun 2001 21:30:01 -0700 (PDT) (envelope-from gnats) Received: from electron.databits.net (electron.databits.net [207.29.204.16]) by hub.freebsd.org (Postfix) with ESMTP id 367EF37B403 for ; Sat, 30 Jun 2001 21:20:01 -0700 (PDT) (envelope-from petef@electron.databits.net) Received: (from petef@localhost) by electron.databits.net (8.11.4/8.11.4) id f614Ioj29627; Sun, 1 Jul 2001 00:18:50 -0400 (EDT) (envelope-from petef) Message-Id: <200107010418.f614Ioj29627@electron.databits.net> Date: Sun, 1 Jul 2001 00:18:50 -0400 (EDT) From: Pete Fritchman Reply-To: Pete Fritchman To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28565: New port: devel/p5-Config-Setting Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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