summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Descent
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2015-09-11 15:11:32 +0000
committerbouyer <bouyer@pkgsrc.org>2015-09-11 15:11:32 +0000
commit7eedc80b29df7d383e321c9b2ae8fb7804c8e9d8 (patch)
tree47b2e296cf62adecbed2a16312685e737fbe2fc4 /textproc/p5-XML-Descent
parentf884d614a681c02ec1263292c7aefb9e9a3bbd97 (diff)
downloadpkgsrc-7eedc80b29df7d383e321c9b2ae8fb7804c8e9d8.tar.gz
Import p5-XML-Descent-1.04 to pkgsrc
The conventional models for parsing XML are either DOM (a data structure representing the entire document tree is created) or SAX (callbacks are issued for each element in the XML). XML grammar is recursive - so it's nice to be able to write recursive parsers for it. XML::Descent allows such parsers to be created.
Diffstat (limited to 'textproc/p5-XML-Descent')
-rw-r--r--textproc/p5-XML-Descent/DESCR6
-rw-r--r--textproc/p5-XML-Descent/Makefile17
-rw-r--r--textproc/p5-XML-Descent/distinfo5
3 files changed, 28 insertions, 0 deletions
diff --git a/textproc/p5-XML-Descent/DESCR b/textproc/p5-XML-Descent/DESCR
new file mode 100644
index 00000000000..f2417136c8d
--- /dev/null
+++ b/textproc/p5-XML-Descent/DESCR
@@ -0,0 +1,6 @@
+The conventional models for parsing XML are either DOM (a data structure
+representing the entire document tree is created) or SAX (callbacks are
+issued for each element in the XML).
+
+XML grammar is recursive - so it's nice to be able to write recursive
+parsers for it. XML::Descent allows such parsers to be created.
diff --git a/textproc/p5-XML-Descent/Makefile b/textproc/p5-XML-Descent/Makefile
new file mode 100644
index 00000000000..aadbd3cc71c
--- /dev/null
+++ b/textproc/p5-XML-Descent/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2015/09/11 15:11:32 bouyer Exp $
+
+DISTNAME= XML-Descent-1.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/A/AN/ANDYA/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~andya/XML-Descent-1.04/
+COMMENT= Recursive descent XML parsing
+
+DEPENDS+= p5-XML-TokeParser:../../textproc/p5-XML-TokeParser
+
+PERL5_PACKLIST= auto/XML/Descent/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-Descent/distinfo b/textproc/p5-XML-Descent/distinfo
new file mode 100644
index 00000000000..eb76996f7c6
--- /dev/null
+++ b/textproc/p5-XML-Descent/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2015/09/11 15:11:32 bouyer Exp $
+
+SHA1 (XML-Descent-1.04.tar.gz) = 2fc6982334be5ea11e6c3436e82915ccd715e452
+RMD160 (XML-Descent-1.04.tar.gz) = f18ccbcc69e37d4b693e6b382dd0ee1bf97bb35b
+Size (XML-Descent-1.04.tar.gz) = 15212 bytes