From 21f9bde267031abb60784946fe1738c0eef3cc69 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Fri, 3 Dec 2010 06:27:39 +0000 Subject: [PATCH] This perl module allows you to use generic config files in Perl applications. Syntax of the configuration file(s) to read is fully configurable including delimiters, maximum config size, ends of lines, and features include comments, associative arrays, types of variables with coercion WWW: http://search.cpan.org/dist/Parse-PlainConfig/ PR: ports/152787 Submitted by: Peter Vereshagin --- devel/Makefile | 1 + devel/p5-Parse-PlainConfig/Makefile | 25 +++++++++++++++++++++++++ devel/p5-Parse-PlainConfig/distinfo | 2 ++ devel/p5-Parse-PlainConfig/pkg-descr | 6 ++++++ devel/p5-Parse-PlainConfig/pkg-plist | 5 +++++ 5 files changed, 39 insertions(+) create mode 100644 devel/p5-Parse-PlainConfig/Makefile create mode 100644 devel/p5-Parse-PlainConfig/distinfo create mode 100644 devel/p5-Parse-PlainConfig/pkg-descr create mode 100644 devel/p5-Parse-PlainConfig/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 0f97d349e7a5..7e063aeb8fad 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2043,6 +2043,7 @@ SUBDIR += p5-Parse-Method-Signatures SUBDIR += p5-Parse-PerlConfig SUBDIR += p5-Parse-Pidl + SUBDIR += p5-Parse-PlainConfig SUBDIR += p5-Parse-RecDescent SUBDIR += p5-Parse-Yapp SUBDIR += p5-ParseLex diff --git a/devel/p5-Parse-PlainConfig/Makefile b/devel/p5-Parse-PlainConfig/Makefile new file mode 100644 index 000000000000..8ab7e0e1b6be --- /dev/null +++ b/devel/p5-Parse-PlainConfig/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-Parse-PlainConfig +# Date created: December 2nd 2010 +# Whom: Peter Vereshagin +# +# $FreeBSD$ +# + +PORTNAME= Parse-PlainConfig +PORTVERSION= 2.06 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= peter@vereshagin.org +COMMENT= Perl5 module to use plain config files + +RUN_DEPENDS= p5-Paranoid>0:${PORTSDIR}/devel/p5-Paranoid \ + p5-Text-ParseWords>0:${PORTSDIR}/textproc/p5-Text-ParseWords \ + p5-Text-Tabs+Wrap>0:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap + +PERL_CONFIGURE= yes + +MAN3= Parse::PlainConfig.3 + +.include diff --git a/devel/p5-Parse-PlainConfig/distinfo b/devel/p5-Parse-PlainConfig/distinfo new file mode 100644 index 000000000000..a77fce675e3a --- /dev/null +++ b/devel/p5-Parse-PlainConfig/distinfo @@ -0,0 +1,2 @@ +SHA256 (Parse-PlainConfig-2.06.tar.gz) = 1c9d48b8fe3d7fe8b570d0111b9cfb28c2c07e8136f557146b9b1503c06cf7b8 +SIZE (Parse-PlainConfig-2.06.tar.gz) = 25487 diff --git a/devel/p5-Parse-PlainConfig/pkg-descr b/devel/p5-Parse-PlainConfig/pkg-descr new file mode 100644 index 000000000000..e587480e1dce --- /dev/null +++ b/devel/p5-Parse-PlainConfig/pkg-descr @@ -0,0 +1,6 @@ +This perl module allows you to use generic config files in Perl applications. +Syntax of the configuration file(s) to read is fully configurable including +delimiters, maximum config size, ends of lines, and features include comments, +associative arrays, types of variables with coercion + +WWW: http://search.cpan.org/dist/Parse-PlainConfig/ diff --git a/devel/p5-Parse-PlainConfig/pkg-plist b/devel/p5-Parse-PlainConfig/pkg-plist new file mode 100644 index 000000000000..02e717c56cf8 --- /dev/null +++ b/devel/p5-Parse-PlainConfig/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Parse/PlainConfig.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/PlainConfig/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/PlainConfig +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse +@dirrmtry %%SITE_PERL%%/Parse