summaryrefslogtreecommitdiff
path: root/devel/p5-Config-Grammar
diff options
context:
space:
mode:
authorbouyer <bouyer>2012-02-02 18:50:08 +0000
committerbouyer <bouyer>2012-02-02 18:50:08 +0000
commite16cedd1e4ad70b99cd92704bb87e9b117ffa3b2 (patch)
tree6954b22e0e5dd48888f15a34f3943a45081e0f0d /devel/p5-Config-Grammar
parentef497c553b4f6d251fe79edf2c952f9bd6934ec2 (diff)
downloadpkgsrc-e16cedd1e4ad70b99cd92704bb87e9b117ffa3b2.tar.gz
Import p5-Config-Grammar version 1.10, needed by the upcoming smokeping
update. Config::Grammar is a Perl module to parse configuration files by following a grammar, which specifies how the configuration file should look like. The configuration files are nice to work with for humans and the error messages are helpful because it tells right away that for example you are setting a variable which isn't defined. Config::Grammar supports many advanced features, that you can read about in its documentation (type 'man Config::Grammar' or 'perldoc lib/Config/Grammar.pm' in this directory)
Diffstat (limited to 'devel/p5-Config-Grammar')
-rw-r--r--devel/p5-Config-Grammar/DESCR9
-rw-r--r--devel/p5-Config-Grammar/Makefile19
-rw-r--r--devel/p5-Config-Grammar/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/devel/p5-Config-Grammar/DESCR b/devel/p5-Config-Grammar/DESCR
new file mode 100644
index 00000000000..4c046440bdd
--- /dev/null
+++ b/devel/p5-Config-Grammar/DESCR
@@ -0,0 +1,9 @@
+Config::Grammar is a Perl module to parse configuration files by
+following a grammar, which specifies how the configuration file should
+look like. The configuration files are nice to work with for humans
+and the error messages are helpful because it tells right away that
+for example you are setting a variable which isn't defined.
+
+Config::Grammar supports many advanced features, that you can read
+about in its documentation (type 'man Config::Grammar' or 'perldoc
+lib/Config/Grammar.pm' in this directory)
diff --git a/devel/p5-Config-Grammar/Makefile b/devel/p5-Config-Grammar/Makefile
new file mode 100644
index 00000000000..845a1b86b9d
--- /dev/null
+++ b/devel/p5-Config-Grammar/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/02/02 18:50:08 bouyer Exp $
+
+DISTNAME= Config-Grammar-1.10
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Config/}
+
+MAINTAINER= bouyer@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Config-Grammar/
+COMMENT= A grammar-based, user-friendly config parser
+LICENSE= ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Config/Grammar/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Config-Grammar/distinfo b/devel/p5-Config-Grammar/distinfo
new file mode 100644
index 00000000000..bad1964f595
--- /dev/null
+++ b/devel/p5-Config-Grammar/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/02/02 18:50:08 bouyer Exp $
+
+SHA1 (Config-Grammar-1.10.tar.gz) = ad4db9c19dec9c5b6ac4557f68da027e13a33eca
+RMD160 (Config-Grammar-1.10.tar.gz) = 46f53869135c991183d4ce12a3a6f7b08ab40b7c
+Size (Config-Grammar-1.10.tar.gz) = 17877 bytes