ports/52120: New port: p5-Config-Tiny reads ini-files

Alex Kapranoff alex at kapranoff.ru
Mon May 12 14:40:22 UTC 2003


>Number:         52120
>Category:       ports
>Synopsis:       New port: p5-Config-Tiny reads ini-files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 07:40:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kapranoff
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
IN-LINE Technologies
>Environment:
System: FreeBSD capsule.domain 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon May 5 17:10:30 MSD 2003 root at capsule.domain:/usr/obj/usr/src/sys/CAPSULE i386


	
>Description:
Config::Tiny is a perl class to read and write .ini style
configuration files with as little code as possible, reducing load
time and memory overhead.

If you need something with more power, move up to Config::Simple,
Config::General or one of the many other Config:: modules.
>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-Tiny/
#	p5-Config-Tiny/Makefile
#	p5-Config-Tiny/distinfo
#	p5-Config-Tiny/pkg-descr
#	p5-Config-Tiny/pkg-plist
#	p5-Config-Tiny/files
#	p5-Config-Tiny/files/patch-Makefile.PL
#
echo c - p5-Config-Tiny/
mkdir -p p5-Config-Tiny/ > /dev/null 2>&1
echo x - p5-Config-Tiny/Makefile
sed 's/^X//' >p5-Config-Tiny/Makefile << 'END-of-p5-Config-Tiny/Makefile'
X# New ports collection makefile for:	p5-Config-Tiny
X# Date created:				May 12th 2003
X# Whom:	      				Alex Kapranoff <alex at kapranoff.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Config-Tiny
XPORTVERSION=	1.0
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Config
XPKGNAMEPREFIX=	p5-
XDISTNAME=	${PORTNAME}-1
X
XMAINTAINER=	ports at freebsd.org
XCOMMENT=	Yet another Perl5 module for reading ini-files
X
XPERL_CONFIGURE=	yes
X
XINSTALL_TARGET=	pure_install
X
XMAN3=		Config::Tiny.3
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-Config-Tiny/Makefile
echo x - p5-Config-Tiny/distinfo
sed 's/^X//' >p5-Config-Tiny/distinfo << 'END-of-p5-Config-Tiny/distinfo'
XMD5 (Config-Tiny-1.tar.gz) = b8e39087ef64cebd808ede08cf8197dd
END-of-p5-Config-Tiny/distinfo
echo x - p5-Config-Tiny/pkg-descr
sed 's/^X//' >p5-Config-Tiny/pkg-descr << 'END-of-p5-Config-Tiny/pkg-descr'
XConfig::Tiny is a perl class to read and write .ini style
Xconfiguration files with as little code as possible, reducing load
Xtime and memory overhead.
X
XIf you need something with more power, move up to Config::Simple,
XConfig::General or one of the many other Config:: modules.
END-of-p5-Config-Tiny/pkg-descr
echo x - p5-Config-Tiny/pkg-plist
sed 's/^X//' >p5-Config-Tiny/pkg-plist << 'END-of-p5-Config-Tiny/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/Config/Tiny.pm
X at unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Config 2>/dev/null || true
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config/Tiny/.packlist
X at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config/Tiny
X at unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Config 2>/dev/null|| true
END-of-p5-Config-Tiny/pkg-plist
echo c - p5-Config-Tiny/files
mkdir -p p5-Config-Tiny/files > /dev/null 2>&1
echo x - p5-Config-Tiny/files/patch-Makefile.PL
sed 's/^X//' >p5-Config-Tiny/files/patch-Makefile.PL << 'END-of-p5-Config-Tiny/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Sat Dec 21 15:01:55 2002
X+++ Makefile.PL	Mon May 12 18:25:11 2003
X@@ -8,6 +8,9 @@
X 		FindBin    => 0,
X 		
X 	},	
X+	'MAN3PODS'     => {
X+	    'lib/Config/Tiny.pm' => '$(INST_MAN3DIR)/Config::Tiny.3'
X+	},
X 	($] >= 5.005) ? (
X 		'AUTHOR'   => 'Adam Kennedy (adam at ali.as)',
X 		'ABSTRACT' => 'Read/Write .ini style files with as little code as possible',
END-of-p5-Config-Tiny/files/patch-Makefile.PL
exit

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



More information about the freebsd-ports-bugs mailing list