summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Parser-Lite
diff options
context:
space:
mode:
authorwen <wen@pkgsrc.org>2015-05-30 01:53:13 +0000
committerwen <wen@pkgsrc.org>2015-05-30 01:53:13 +0000
commitcd21d768a0b4229c2357479f0b55d187b03144e2 (patch)
tree1d578b1e13c732622719c7b8769c3526b3880f0a /textproc/p5-XML-Parser-Lite
parent2a0b95f727a1d54cc6c73196ae1bd6adfb754c07 (diff)
downloadpkgsrc-cd21d768a0b4229c2357479f0b55d187b03144e2.tar.gz
Import XML-Parser-Lite-0.721 as p5-XML-Parser-Lite.
This Perl module implements an XML parser with a interface similar to XML::Parser. Though not all callbacks are supported, you should be able to use it in the same way you use XML::Parser. Due to using experimental regexp features it'll work only on Perl 5.6 and above and may behave differently on different platforms. Note that you cannot use regular expressions or split in callbacks. This is due to a limitation of perl's regular expression implementation (which is not re-entrant).
Diffstat (limited to 'textproc/p5-XML-Parser-Lite')
-rw-r--r--textproc/p5-XML-Parser-Lite/DESCR9
-rw-r--r--textproc/p5-XML-Parser-Lite/Makefile16
-rw-r--r--textproc/p5-XML-Parser-Lite/distinfo5
3 files changed, 30 insertions, 0 deletions
diff --git a/textproc/p5-XML-Parser-Lite/DESCR b/textproc/p5-XML-Parser-Lite/DESCR
new file mode 100644
index 00000000000..be575d1e7de
--- /dev/null
+++ b/textproc/p5-XML-Parser-Lite/DESCR
@@ -0,0 +1,9 @@
+This Perl module implements an XML parser with a interface similar to
+XML::Parser. Though not all callbacks are supported, you should be able
+to use it in the same way you use XML::Parser. Due to using experimental
+regexp features it'll work only on Perl 5.6 and above and may behave
+differently on different platforms.
+
+Note that you cannot use regular expressions or split in callbacks. This
+is due to a limitation of perl's regular expression implementation
+(which is not re-entrant).
diff --git a/textproc/p5-XML-Parser-Lite/Makefile b/textproc/p5-XML-Parser-Lite/Makefile
new file mode 100644
index 00000000000..6a23ad06f81
--- /dev/null
+++ b/textproc/p5-XML-Parser-Lite/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2015/05/30 01:53:13 wen Exp $
+
+DISTNAME= XML-Parser-Lite-0.721
+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-ParserLite/
+COMMENT= Lightweight regexp-based XML parser
+LICENSE= ${PERL5_LICENSE}
+
+PERL5_PACKLIST= auto/XML/Parser/Lite/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-Parser-Lite/distinfo b/textproc/p5-XML-Parser-Lite/distinfo
new file mode 100644
index 00000000000..5dba1efcae2
--- /dev/null
+++ b/textproc/p5-XML-Parser-Lite/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/05/30 01:53:13 wen Exp $
+
+SHA1 (XML-Parser-Lite-0.721.tar.gz) = e95d5fe677b51844c1175ab23247458090c4d847
+RMD160 (XML-Parser-Lite-0.721.tar.gz) = b9e14f7eb43f3c2399b3a8ac235ed36d9fb2a3cd
+Size (XML-Parser-Lite-0.721.tar.gz) = 10303 bytes