diff options
author | wiz <wiz@pkgsrc.org> | 2005-02-19 19:21:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-02-19 19:21:58 +0000 |
commit | c49d2dd0ee4b5107d20a955363c99f5d005544d3 (patch) | |
tree | f1fda0e98c70aba7e2c40c5fd2ccf1114126ebc6 /textproc | |
parent | 8f62257c06c628566de388624edf7b4cc205d2f4 (diff) | |
download | pkgsrc-c49d2dd0ee4b5107d20a955363c99f5d005544d3.tar.gz |
Initial import of p5-XML-SAX-Writer-0.44:
A new XML Writer was needed to match the SAX2 effort because quite
naturally no existing writer understood SAX2. My first intention
had been to start patching XML::Handler::YAWriter as it had previously
been my favourite writer in the SAX1 world.
However the more I patched it the more I realised that what I
thought was going to be a simple patch (mostly adding a few event
handlers and changing the attribute syntax) was turning out to be
a rewrite due to various ideas I'd been collecting along the way.
Besides, I couldn't find a way to elegantly make it work with SAX2
without breaking the SAX1 compatibility which people are probably
still using. There are of course ways to do that, but most require
user interaction which is something I wanted to avoid.
So in the end there was a new writer. I think it's in fact better
this way as it helps keep SAX1 and SAX2 separated.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-XML-SAX-Writer/DESCR | 16 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-Writer/Makefile | 22 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-Writer/PLIST | 1 | ||||
-rw-r--r-- | textproc/p5-XML-SAX-Writer/distinfo | 4 |
4 files changed, 43 insertions, 0 deletions
diff --git a/textproc/p5-XML-SAX-Writer/DESCR b/textproc/p5-XML-SAX-Writer/DESCR new file mode 100644 index 00000000000..6faf443bb28 --- /dev/null +++ b/textproc/p5-XML-SAX-Writer/DESCR @@ -0,0 +1,16 @@ +A new XML Writer was needed to match the SAX2 effort because quite +naturally no existing writer understood SAX2. My first intention +had been to start patching XML::Handler::YAWriter as it had previously +been my favourite writer in the SAX1 world. + +However the more I patched it the more I realised that what I +thought was going to be a simple patch (mostly adding a few event +handlers and changing the attribute syntax) was turning out to be +a rewrite due to various ideas I'd been collecting along the way. +Besides, I couldn't find a way to elegantly make it work with SAX2 +without breaking the SAX1 compatibility which people are probably +still using. There are of course ways to do that, but most require +user interaction which is something I wanted to avoid. + +So in the end there was a new writer. I think it's in fact better +this way as it helps keep SAX1 and SAX2 separated. diff --git a/textproc/p5-XML-SAX-Writer/Makefile b/textproc/p5-XML-SAX-Writer/Makefile new file mode 100644 index 00000000000..9b513214da5 --- /dev/null +++ b/textproc/p5-XML-SAX-Writer/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/02/19 19:21:58 wiz Exp $ + +DISTNAME= XML-SAX-Writer-0.44 +PKGNAME= p5-${DISTNAME} +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/XML-SAX-Writer/ +COMMENT= SAX2 (XML) Writer + +DEPENDS+= p5-XML-NamespaceSupport>=0.03:../../textproc/p5-XML-NamespaceSupport +DEPENDS+= p5-File-Temp-[0-9]*:../../devel/p5-File-Temp + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/SAX/Writer/.packlist +MAKE_ENV+= PERL5LIB="${PREFIX}/${PERL5_SUB_INSTALLSITELIB}" + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/p5-XML-SAX-Writer/PLIST b/textproc/p5-XML-SAX-Writer/PLIST new file mode 100644 index 00000000000..ef88cf41538 --- /dev/null +++ b/textproc/p5-XML-SAX-Writer/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/19 19:21:58 wiz Exp $ diff --git a/textproc/p5-XML-SAX-Writer/distinfo b/textproc/p5-XML-SAX-Writer/distinfo new file mode 100644 index 00000000000..2e858f1bc66 --- /dev/null +++ b/textproc/p5-XML-SAX-Writer/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/02/19 19:21:58 wiz Exp $ + +SHA1 (XML-SAX-Writer-0.44.tar.gz) = 30a08a8b9a0f0f70f859362c5c930dce75c8a991 +Size (XML-SAX-Writer-0.44.tar.gz) = 11683 bytes |