summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2010-06-14 21:58:37 +0000
committerseb <seb@pkgsrc.org>2010-06-14 21:58:37 +0000
commit230d13ea3fbb6bfe6afa3e5c1822a0e4acbb2cce (patch)
treeced9f6e8c9fec1bac92fe5a21a38d20f34da260b /textproc
parent75b407d0241d31fffa53a4be3793c8060ef51f06 (diff)
downloadpkgsrc-230d13ea3fbb6bfe6afa3e5c1822a0e4acbb2cce.tar.gz
Initial import of p5-XML-Rabbit version 0.0.1 in the NetBSD Packages
Collection. The Perl 5 module XML::Rabbit is a simple Moose-based base class you can use to make simple XPath-based XML extractors. Each attribute in your class is linked to an XPath query that is executed on your XML document when you request the value.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-XML-Rabbit/DESCR4
-rw-r--r--textproc/p5-XML-Rabbit/Makefile26
-rw-r--r--textproc/p5-XML-Rabbit/distinfo5
3 files changed, 35 insertions, 0 deletions
diff --git a/textproc/p5-XML-Rabbit/DESCR b/textproc/p5-XML-Rabbit/DESCR
new file mode 100644
index 00000000000..2f47e33777e
--- /dev/null
+++ b/textproc/p5-XML-Rabbit/DESCR
@@ -0,0 +1,4 @@
+The Perl 5 module XML::Rabbit is a simple Moose-based base class
+you can use to make simple XPath-based XML extractors. Each attribute
+in your class is linked to an XPath query that is executed on your
+XML document when you request the value.
diff --git a/textproc/p5-XML-Rabbit/Makefile b/textproc/p5-XML-Rabbit/Makefile
new file mode 100644
index 00000000000..405f656d4f9
--- /dev/null
+++ b/textproc/p5-XML-Rabbit/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/06/14 21:58:37 seb Exp $
+
+DISTNAME= XML-Rabbit-0.0.1
+PKGNAME= p5-${DISTNAME}
+#PKGREVISION= 1
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/XML-Rabbit/
+COMMENT= Perl 5 module to consume XML with Moose and xpath queries
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/XML/Rabbit/.packlist
+
+DEPENDS+= p5-Data-Visitor-[0-9]*:../../devel/p5-Data-Visitor
+DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
+DEPENDS+= p5-MooseX-Role-Parameterized-[0-9]*:../../devel/p5-MooseX-Role-Parameterized
+DEPENDS+= p5-Perl6-Junction-[0-9]*:../../devel/p5-Perl6-Junction
+DEPENDS+= p5-XML-LibXML>=1.70:../../textproc/p5-XML-LibXML
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-Rabbit/distinfo b/textproc/p5-XML-Rabbit/distinfo
new file mode 100644
index 00000000000..8b1bff8a602
--- /dev/null
+++ b/textproc/p5-XML-Rabbit/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/06/14 21:58:37 seb Exp $
+
+SHA1 (XML-Rabbit-0.0.1.tar.gz) = 88233e4cd5bd253fffe568e06e6d64089bf8ed46
+RMD160 (XML-Rabbit-0.0.1.tar.gz) = e6ebdd4852c51ca63d265d2aef12c98c08b586da
+Size (XML-Rabbit-0.0.1.tar.gz) = 41024 bytes