summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-11-28 14:32:55 +0000
committerhe <he@pkgsrc.org>2008-11-28 14:32:55 +0000
commite55c9654d25aa91f34767f7e04451a9542e1e32d (patch)
treefbc6b15316600bb8ee93aeda7ea4597c54bbeab1 /textproc
parent4d029c3c55281c887e29f04bf9102776f95eacfa (diff)
downloadpkgsrc-e55c9654d25aa91f34767f7e04451a9542e1e32d.tar.gz
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 (limited to 'textproc')
-rw-r--r--textproc/p5-XML-SAX-Base/DESCR10
-rw-r--r--textproc/p5-XML-SAX-Base/Makefile28
-rw-r--r--textproc/p5-XML-SAX-Base/distinfo5
3 files changed, 43 insertions, 0 deletions
diff --git a/textproc/p5-XML-SAX-Base/DESCR b/textproc/p5-XML-SAX-Base/DESCR
new file mode 100644
index 00000000000..4bba938460c
--- /dev/null
+++ b/textproc/p5-XML-SAX-Base/DESCR
@@ -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 --git a/textproc/p5-XML-SAX-Base/Makefile b/textproc/p5-XML-SAX-Base/Makefile
new file mode 100644
index 00000000000..63099ae8967
--- /dev/null
+++ b/textproc/p5-XML-SAX-Base/Makefile
@@ -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
+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 --git a/textproc/p5-XML-SAX-Base/distinfo b/textproc/p5-XML-SAX-Base/distinfo
new file mode 100644
index 00000000000..befefdebf87
--- /dev/null
+++ b/textproc/p5-XML-SAX-Base/distinfo
@@ -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