pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-XML-SAX-Base Import p5-XML-SAX-Base versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/253297a59841
branches:  trunk
changeset: 550769:253297a59841
user:      he <he%pkgsrc.org@localhost>
date:      Fri Nov 28 14:32:55 2008 +0000

description:
Import p5-XML-SAX-Base version 1.02.

This module 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.

diffstat:

 textproc/p5-XML-SAX-Base/DESCR    |  10 ++++++++++
 textproc/p5-XML-SAX-Base/Makefile |  28 ++++++++++++++++++++++++++++
 textproc/p5-XML-SAX-Base/distinfo |   5 +++++
 3 files changed, 43 insertions(+), 0 deletions(-)

diffs (55 lines):

diff -r 575272d5f94d -r 253297a59841 textproc/p5-XML-SAX-Base/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Base/DESCR    Fri Nov 28 14:32:55 2008 +0000
@@ -0,0 +1,10 @@
+This module 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.
diff -r 575272d5f94d -r 253297a59841 textproc/p5-XML-SAX-Base/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Base/Makefile Fri Nov 28 14:32:55 2008 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/28 14:32:55 he Exp $
+
+DISTNAME=      XML-SAX-Base-1.02
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    textproc perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/XML-SAX-Base/
+COMMENT=       Base class SAX Drivers and Filters
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+#MAKE_ENV=     SKIP_SAX_INSTALL=yes
+#EGSUBDIR=     share/examples/p5-XML-SAX
+#CONF_FILES=   ${EGSUBDIR}/ParserDetails.ini \
+#                      ${PERL5_INSTALLVENDORLIB}/XML/SAX/ParserDetails.ini
+
+PERL5_PACKLIST=        auto/XML/SAX/Base/.packlist
+
+#INSTALLATION_DIRS+=   ${EGSUBDIR}
+
+#post-install:
+#      ${ECHO} > ${DESTDIR:Q}${PREFIX:Q}/${EGSUBDIR}/ParserDetails.ini
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 575272d5f94d -r 253297a59841 textproc/p5-XML-SAX-Base/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Base/distinfo Fri Nov 28 14:32:55 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/28 14:32:55 he Exp $
+
+SHA1 (XML-SAX-Base-1.02.tar.gz) = ba7def460301b818dc49db197720c8b032e7fe24
+RMD160 (XML-SAX-Base-1.02.tar.gz) = 67b6de607022f9b008ecb3803f6a17c443daced5
+Size (XML-SAX-Base-1.02.tar.gz) = 21148 bytes



Home | Main Index | Thread Index | Old Index