SAX parser based on the perl interface to expat
This commit is contained in:
parent
e3e0fdc4fb
commit
8e2e2ca771
19
textproc/p5-XML-SAX-Expat/Makefile
Normal file
19
textproc/p5-XML-SAX-Expat/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/14 19:09:03 espie Exp $
|
||||
|
||||
COMMENT= "SAX2 driver based on expat"
|
||||
|
||||
MODULES= cpan
|
||||
DISTNAME= XML-SAX-Expat-0.37
|
||||
CATEGORIES= textproc
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
RUN_DEPENDS= ::textproc/p5-XML-SAX \
|
||||
::textproc/p5-XML-Parser \
|
||||
::textproc/p5-XML-NamespaceSupport
|
||||
|
||||
.include <bsd.port.mk>
|
4
textproc/p5-XML-SAX-Expat/distinfo
Normal file
4
textproc/p5-XML-SAX-Expat/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (XML-SAX-Expat-0.37.tar.gz) = c48024d363a1ff9abaf8f9af592d38cd
|
||||
RMD160 (XML-SAX-Expat-0.37.tar.gz) = 2490de192e548fe94bea94d7db2eb8680e379c0e
|
||||
SHA1 (XML-SAX-Expat-0.37.tar.gz) = 15055b315c72d25aad77bd9efbba8f70a7e80b0c
|
||||
SIZE (XML-SAX-Expat-0.37.tar.gz) = 5329
|
12
textproc/p5-XML-SAX-Expat/patches/patch-Makefile_PL
Normal file
12
textproc/p5-XML-SAX-Expat/patches/patch-Makefile_PL
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2006/11/14 19:09:03 espie Exp $
|
||||
--- Makefile.PL.orig Tue Nov 14 11:48:36 2006
|
||||
+++ Makefile.PL Tue Nov 14 11:49:18 2006
|
||||
@@ -16,7 +16,7 @@ WriteMakefile(
|
||||
|
||||
|
||||
## add ourselves to the list of installed parsers
|
||||
-sub MY::install {
|
||||
+sub dont {
|
||||
package MY;
|
||||
my $script = shift->SUPER::install(@_);
|
||||
$script =~ s/install :: (.*)$/install :: $1 install_sax_expat/m;
|
16
textproc/p5-XML-SAX-Expat/pkg/DESCR
Normal file
16
textproc/p5-XML-SAX-Expat/pkg/DESCR
Normal file
@ -0,0 +1,16 @@
|
||||
This is an implementation of a SAX2 driver sitting on top of
|
||||
Expat (XML::Parser).
|
||||
|
||||
It is still incomplete, though most of the basic SAX2 events should be
|
||||
available.
|
||||
|
||||
XML::Parser has no listed callbacks for the following events, which are
|
||||
therefore not presently generated (ways may be found in the future):
|
||||
|
||||
* ignorable_whitespace
|
||||
* skipped_entity
|
||||
* start_entity / end_entity
|
||||
* resolve_entity
|
||||
|
||||
Note that this package currently does not register itself with XML::SAX,
|
||||
so you have to add the parser manually before you can use it.
|
3
textproc/p5-XML-SAX-Expat/pkg/PLIST
Normal file
3
textproc/p5-XML-SAX-Expat/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/14 19:09:03 espie Exp $
|
||||
${P5SITE}/XML/SAX/Expat.pm
|
||||
@man man/man3p/XML::SAX::Expat.3p
|
Loading…
Reference in New Issue
Block a user