summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2012-02-02 18:50:08 +0000
committerbouyer <bouyer@pkgsrc.org>2012-02-02 18:50:08 +0000
commit719ca9da9a9793ac6d96638c56d7ce243c805744 (patch)
tree6954b22e0e5dd48888f15a34f3943a45081e0f0d
parentdcf760c5b2971b659e24e96b4de78a27248394a9 (diff)
downloadpkgsrc-719ca9da9a9793ac6d96638c56d7ce243c805744.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)
-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