summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/p5-XML-TokeParser/DESCR13
-rw-r--r--textproc/p5-XML-TokeParser/Makefile17
-rw-r--r--textproc/p5-XML-TokeParser/distinfo5
3 files changed, 35 insertions, 0 deletions
diff --git a/textproc/p5-XML-TokeParser/DESCR b/textproc/p5-XML-TokeParser/DESCR
new file mode 100644
index 00000000000..437a831a59c
--- /dev/null
+++ b/textproc/p5-XML-TokeParser/DESCR
@@ -0,0 +1,13 @@
+XML::TokeParser provides a procedural ("pull mode") interface to XML::Parser
+in much the same way that Gisle Aas' HTML::TokeParser provides a procedural
+interface to HTML::Parser. XML::TokeParser splits its XML input up into
+"tokens," each corresponding to an XML::Parser event.
+
+A token is a bless'd reference to an array whose first element is an
+event-type string and whose last element is the literal text of the
+XML input that generated the event, with intermediate elements varying
+according to the event type.
+
+Each token is an object of type XML::TokeParser::Token. Read
+"XML::TokeParser::Token" to learn what methods are available for
+inspecting the token, and retrieving data from it.
diff --git a/textproc/p5-XML-TokeParser/Makefile b/textproc/p5-XML-TokeParser/Makefile
new file mode 100644
index 00000000000..d682b0b515c
--- /dev/null
+++ b/textproc/p5-XML-TokeParser/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2015/09/11 15:08:39 bouyer Exp $
+
+DISTNAME= XML-TokeParser-0.05
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/XML-TokeParser/TokeParser.pm
+COMMENT= Simplified interface to XML::Parser
+
+DEPENDS+= p5-XML-Parser:../../textproc/p5-XML-Parser
+
+PERL5_PACKLIST= auto/XML/TokeParser/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-TokeParser/distinfo b/textproc/p5-XML-TokeParser/distinfo
new file mode 100644
index 00000000000..33fd63a1c4a
--- /dev/null
+++ b/textproc/p5-XML-TokeParser/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2015/09/11 15:08:39 bouyer Exp $
+
+SHA1 (XML-TokeParser-0.05.tar.gz) = d2267f1f416ecc96b67ad57c7748f29438d87bf3
+RMD160 (XML-TokeParser-0.05.tar.gz) = 1985724180a522ed5cbe05225c87a66e79077be5
+Size (XML-TokeParser-0.05.tar.gz) = 10989 bytes