aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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