- Re-add p5-XML-SAX-Base 1.08
XML::SAX::Base has a very simple task - to be a base class for PerlSAX drivers and filters. It's default behaviour is to pass the input directly to the output unchanged. It can be useful to use this module as a base class so you don't have to, for example, implement the characters() callback. The main advantages that it provides are easy dispatching of events the right way (ie it takes care for you of checking that the handler has implemented that method, or has defined an AUTOLOAD), and the guarantee that filters will pass along events that they aren't implementing to handlers downstream that might nevertheless be interested in them. WWW: http://search.cpan.org/dist/XML-SAX-Base/
This commit is contained in:
parent
290d06a8a3
commit
256fb825c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296213
5 changed files with 53 additions and 0 deletions
|
@ -967,6 +967,7 @@
|
|||
SUBDIR += p5-XML-Rewrite
|
||||
SUBDIR += p5-XML-Rules
|
||||
SUBDIR += p5-XML-SAX
|
||||
SUBDIR += p5-XML-SAX-Base
|
||||
SUBDIR += p5-XML-SAX-Expat
|
||||
SUBDIR += p5-XML-SAX-Expat-Incremental
|
||||
SUBDIR += p5-XML-SAX-ExpatXS
|
||||
|
|
29
textproc/p5-XML-SAX-Base/Makefile
Normal file
29
textproc/p5-XML-SAX-Base/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
# New ports collection makefile for: p5-XML-SAX-Base
|
||||
# Date created: 2012-03-01
|
||||
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= XML-SAX-Base
|
||||
PORTVERSION= 1.08
|
||||
CATEGORIES= textproc perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Base class SAX Drivers and Filters
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= XML::SAX::Base.3 \
|
||||
XML::SAX::BuildSAXBase.3 \
|
||||
XML::SAX::Exception.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 501001
|
||||
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
textproc/p5-XML-SAX-Base/distinfo
Normal file
2
textproc/p5-XML-SAX-Base/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (XML-SAX-Base-1.08.tar.gz) = 666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d9807330219e
|
||||
SIZE (XML-SAX-Base-1.08.tar.gz) = 28197
|
12
textproc/p5-XML-SAX-Base/pkg-descr
Normal file
12
textproc/p5-XML-SAX-Base/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
|||
XML::SAX::Base has a very simple task - to be a base class for PerlSAX drivers
|
||||
and filters. It's default behaviour is to pass the input directly to the output
|
||||
unchanged. It can be useful to use this module as a base class so you don't have
|
||||
to, for example, implement the characters() callback.
|
||||
|
||||
The main advantages that it provides are easy dispatching of events the right
|
||||
way (ie it takes care for you of checking that the handler has implemented that
|
||||
method, or has defined an AUTOLOAD), and the guarantee that filters will pass
|
||||
along events that they aren't implementing to handlers downstream that might
|
||||
nevertheless be interested in them.
|
||||
|
||||
WWW: http://search.cpan.org/dist/XML-SAX-Base/
|
9
textproc/p5-XML-SAX-Base/pkg-plist
Normal file
9
textproc/p5-XML-SAX-Base/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
|||
%%SITE_PERL%%/XML/SAX/Base.pm
|
||||
%%SITE_PERL%%/XML/SAX/BuildSAXBase.pl
|
||||
%%SITE_PERL%%/XML/SAX/Exception.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/Base/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/Base
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
|
||||
@dirrmtry %%SITE_PERL%%/XML/SAX
|
||||
@dirrmtry %%SITE_PERL%%/XML
|
Loading…
Reference in a new issue