From 3dc43eab77acf7b0afaff8d0e2f487f723891d77 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Fri, 26 Aug 2011 10:14:25 +0000 Subject: [PATCH] YAML::AppConfig extends the work done in Config::YAML and YAML::ConfigFile to allow more flexiable configuration files. Your configuration is stored in YAML and then parsed and presented to you via YAML::AppConfig. Settings can be referenced using get and set methods and settings can refer to one another by using variables of the form $foo, much in the style of AppConfig. WWW: http://search.cpan.org/dist/YAML-AppConfig/ --- devel/Makefile | 1 + devel/p5-YAML-AppConfig/Makefile | 26 ++++++++++++++++++++++++++ devel/p5-YAML-AppConfig/distinfo | 2 ++ devel/p5-YAML-AppConfig/pkg-descr | 9 +++++++++ devel/p5-YAML-AppConfig/pkg-plist | 3 +++ 5 files changed, 41 insertions(+) create mode 100644 devel/p5-YAML-AppConfig/Makefile create mode 100644 devel/p5-YAML-AppConfig/distinfo create mode 100644 devel/p5-YAML-AppConfig/pkg-descr create mode 100644 devel/p5-YAML-AppConfig/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 723583d3aa5e..84d156abec4f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2532,6 +2532,7 @@ SUBDIR += p5-XML-Compile-Tester SUBDIR += p5-XML-Pastor SUBDIR += p5-XSLoader + SUBDIR += p5-YAML-AppConfig SUBDIR += p5-Yada-Yada-Yada SUBDIR += p5-ZConf-GUI SUBDIR += p5-ZML diff --git a/devel/p5-YAML-AppConfig/Makefile b/devel/p5-YAML-AppConfig/Makefile new file mode 100644 index 000000000000..3f5939dc4853 --- /dev/null +++ b/devel/p5-YAML-AppConfig/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: YAML::AppConfig +# Date created: 26 Aug 2011 +# Whom: Jun Kuriyama +# +# $FreeBSD$ +# + +PORTNAME= YAML-AppConfig +PORTVERSION= 0.16 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Perl extension to manage configuration files with YAML + +RUN_DEPENDS= \ + p5-YAML>=0.38:${PORTSDIR}/textproc/p5-YAML \ + p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= YAML::AppConfig.3 + +.include diff --git a/devel/p5-YAML-AppConfig/distinfo b/devel/p5-YAML-AppConfig/distinfo new file mode 100644 index 000000000000..55502c60b800 --- /dev/null +++ b/devel/p5-YAML-AppConfig/distinfo @@ -0,0 +1,2 @@ +SHA256 (YAML-AppConfig-0.16.tar.gz) = 2c11e7ea2ea2911199c4ea6bfd3a77e1d2264efc2a490b6d8886f1e4b930df57 +SIZE (YAML-AppConfig-0.16.tar.gz) = 12385 diff --git a/devel/p5-YAML-AppConfig/pkg-descr b/devel/p5-YAML-AppConfig/pkg-descr new file mode 100644 index 000000000000..fc8e219018ce --- /dev/null +++ b/devel/p5-YAML-AppConfig/pkg-descr @@ -0,0 +1,9 @@ +YAML::AppConfig extends the work done in Config::YAML and +YAML::ConfigFile to allow more flexiable configuration files. + +Your configuration is stored in YAML and then parsed and presented to +you via YAML::AppConfig. Settings can be referenced using get and set +methods and settings can refer to one another by using variables of +the form $foo, much in the style of AppConfig. + +WWW: http://search.cpan.org/dist/YAML-AppConfig/ diff --git a/devel/p5-YAML-AppConfig/pkg-plist b/devel/p5-YAML-AppConfig/pkg-plist new file mode 100644 index 000000000000..8f9f9a18af16 --- /dev/null +++ b/devel/p5-YAML-AppConfig/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/YAML/AppConfig/.packlist +%%SITE_PERL%%/YAML/AppConfig.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/YAML/AppConfig