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>
This commit is contained in:
parent
b095e282a3
commit
a2afc9679b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382448
@ -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
|
||||
|
21
textproc/p5-XML-Parser-Lite/Makefile
Normal file
21
textproc/p5-XML-Parser-Lite/Makefile
Normal file
@ -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>
|
2
textproc/p5-XML-Parser-Lite/distinfo
Normal file
2
textproc/p5-XML-Parser-Lite/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (XML-Parser-Lite-0.72.tar.gz) = 38c7110d9fc23042284e8584777a18f3e1c5c1974ab3df598df120c0922811bb
|
||||
SIZE (XML-Parser-Lite-0.72.tar.gz) = 9382
|
10
textproc/p5-XML-Parser-Lite/pkg-descr
Normal file
10
textproc/p5-XML-Parser-Lite/pkg-descr
Normal file
@ -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/
|
2
textproc/p5-XML-Parser-Lite/pkg-plist
Normal file
2
textproc/p5-XML-Parser-Lite/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
%%SITE_PERL%%/XML/Parser/Lite.pm
|
||||
%%PERL5_MAN3%%/XML::Parser::Lite.3.gz
|
Loading…
Reference in New Issue
Block a user