aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2015-03-28 12:18:52 +0800
committerwen <wen@FreeBSD.org>2015-03-28 12:18:52 +0800
commit1018316d6fec87ab52492ce40b196f8a591bfdc9 (patch)
treef9f0474027558f33546214f4d4b1da4524a2a23c /textproc
parent1bd4c6b9166b31bdb2d724c95094889ec6cad4f3 (diff)
downloadfreebsd-ports-gnome-1018316d6fec87ab52492ce40b196f8a591bfdc9.tar.gz
freebsd-ports-gnome-1018316d6fec87ab52492ce40b196f8a591bfdc9.tar.zst
freebsd-ports-gnome-1018316d6fec87ab52492ce40b196f8a591bfdc9.zip
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). WWW: http://search.cpan.org/dist/XML-Parser-Lite/ PR: 198934 Submitted by: Sergei Vyshenski<svysh.fbsd@gmail.com>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Parser-Lite/Makefile21
-rw-r--r--textproc/p5-XML-Parser-Lite/distinfo2
-rw-r--r--textproc/p5-XML-Parser-Lite/pkg-descr10
-rw-r--r--textproc/p5-XML-Parser-Lite/pkg-plist2
5 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 0faa8457ff21..31097959ea2b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -999,6 +999,7 @@
SUBDIR += p5-XML-Parsepp
SUBDIR += p5-XML-Parser
SUBDIR += p5-XML-Parser-EasyTree
+ SUBDIR += p5-XML-Parser-Lite
SUBDIR += p5-XML-Parser-Lite-Tree
SUBDIR += p5-XML-Parser-Style-EasyTree
SUBDIR += p5-XML-Parser-Style-Elemental
diff --git a/textproc/p5-XML-Parser-Lite/Makefile b/textproc/p5-XML-Parser-Lite/Makefile
new file mode 100644
index 000000000000..63d5e7cdad14
--- /dev/null
+++ b/textproc/p5-XML-Parser-Lite/Makefile
@@ -0,0 +1,21 @@
+# Created by: Sergei Vyshenski <svysh.fbsd@gmail.com>
+# $FreeBSD$
+
+PORTNAME= XML-Parser-Lite
+PORTVERSION= 0.72
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svysh.fbsd@gmail.com
+COMMENT= Lightweight regexp-based XML parser
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+USES= perl5
+USE_PERL5= configure
+
+#pre-install: test
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Parser-Lite/distinfo b/textproc/p5-XML-Parser-Lite/distinfo
new file mode 100644
index 000000000000..f62f80f58a40
--- /dev/null
+++ b/textproc/p5-XML-Parser-Lite/distinfo
@@ -0,0 +1,2 @@
+SHA256 (XML-Parser-Lite-0.72.tar.gz) = 38c7110d9fc23042284e8584777a18f3e1c5c1974ab3df598df120c0922811bb
+SIZE (XML-Parser-Lite-0.72.tar.gz) = 9382
diff --git a/textproc/p5-XML-Parser-Lite/pkg-descr b/textproc/p5-XML-Parser-Lite/pkg-descr
new file mode 100644
index 000000000000..430aee1ca610
--- /dev/null
+++ b/textproc/p5-XML-Parser-Lite/pkg-descr
@@ -0,0 +1,10 @@
+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).
+
+WWW: http://search.cpan.org/dist/XML-Parser-Lite/
diff --git a/textproc/p5-XML-Parser-Lite/pkg-plist b/textproc/p5-XML-Parser-Lite/pkg-plist
new file mode 100644
index 000000000000..77b8a5f2a8c5
--- /dev/null
+++ b/textproc/p5-XML-Parser-Lite/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/XML/Parser/Lite.pm
+%%PERL5_MAN3%%/XML::Parser::Lite.3.gz