Add port devel/p5-Config-Std:

This module implements yet another damn configuration-file system.

The configuration language is deliberately simple and limited, and the
module works hard to preserve as much information (section order,
comments, etc.) as possible when a configuration file is updated.

See Chapter 19 of "Perl Best Practices" (O'Reilly, 2005) for the
rationale for this approach.

The configuration language is a slight extension of the Windows INI
format.

WWW: http://search.cpan.org/dist/Config-Std/

Approved by:	krion (mentor)
This commit is contained in:
Andrew Pantyukhin 2006-05-30 18:16:54 +00:00
parent 9a7e733057
commit b1db8a0638
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163992
5 changed files with 56 additions and 0 deletions

View File

@ -825,6 +825,7 @@
SUBDIR += p5-Config-Objective
SUBDIR += p5-Config-Setting
SUBDIR += p5-Config-Simple
SUBDIR += p5-Config-Std
SUBDIR += p5-Config-Tiny
SUBDIR += p5-ConfigReader
SUBDIR += p5-ConfigReader-Simple

View File

@ -0,0 +1,34 @@
# New ports collection makefile for: p5-Config-Std
# Date created: 30 May 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Config-Std
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.4
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Config
PKGNAMEPREFIX= p5-
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Load and save configuration files in a standard format
BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
${SITE_PERL}/Class/Std.pm:${PORTSDIR}/devel/p5-Class-Std \
${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
MAN3= Config::Std.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Config-Std-v0.0.4.tar.gz) = 0aac46d684bb89988a563a561c545a21
SHA256 (Config-Std-v0.0.4.tar.gz) = 40b455d1971960514a0b87c58a4d1656207e03cd6d7a33dd3c068f97ad3ed5d5
SIZE (Config-Std-v0.0.4.tar.gz) = 12140

View File

@ -0,0 +1,13 @@
This module implements yet another damn configuration-file system.
The configuration language is deliberately simple and limited, and the
module works hard to preserve as much information (section order,
comments, etc.) as possible when a configuration file is updated.
See Chapter 19 of "Perl Best Practices" (O'Reilly, 2005) for the
rationale for this approach.
The configuration language is a slight extension of the Windows INI
format.
WWW: http://search.cpan.org/dist/Config-Std/

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Config/Std.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/Std/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Config/Std
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Config
@dirrmtry %%SITE_PERL%%/Class