summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Encoding
diff options
context:
space:
mode:
authorerh <erh@pkgsrc.org>2004-11-12 06:39:55 +0000
committererh <erh@pkgsrc.org>2004-11-12 06:39:55 +0000
commit44f7c6c4445dd55d403a416e75a042154c143664 (patch)
treed65dc48593c324edd36fbdafba5bf9caeb525555 /textproc/p5-XML-Encoding
parent08bd1482c890f3a621b3f77885975cf276bb0264 (diff)
downloadpkgsrc-44f7c6c4445dd55d403a416e75a042154c143664.tar.gz
Create a package for XML-Encoding-1.01
A perl module for parsing XML encoding maps
Diffstat (limited to 'textproc/p5-XML-Encoding')
-rw-r--r--textproc/p5-XML-Encoding/DESCR6
-rw-r--r--textproc/p5-XML-Encoding/Makefile19
-rw-r--r--textproc/p5-XML-Encoding/PLIST1
-rw-r--r--textproc/p5-XML-Encoding/distinfo4
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/p5-XML-Encoding/DESCR b/textproc/p5-XML-Encoding/DESCR
new file mode 100644
index 00000000000..1a57f102b71
--- /dev/null
+++ b/textproc/p5-XML-Encoding/DESCR
@@ -0,0 +1,6 @@
+This module, which is built as a subclass of XML::Parser, provides a parser
+for encoding map files, which are XML files. The file maps/encmap.dtd in the
+distribution describes the structure of these files. Calling a parse method
+returns the name of the encoding map (obtained from the name attribute of the
+root element). The contents of the map are processed through the callback
+functions push_prefix, pop_prefix, and range_set.
diff --git a/textproc/p5-XML-Encoding/Makefile b/textproc/p5-XML-Encoding/Makefile
new file mode 100644
index 00000000000..1effbdf2c4b
--- /dev/null
+++ b/textproc/p5-XML-Encoding/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/12 06:39:55 erh Exp $
+
+DISTNAME= XML-Encoding-1.01
+PKGNAME= p5-${DISTNAME}
+#SVR4_PKGNAME=
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/C/CO/COOPERCL/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/XML-Encoding-1.01/
+COMMENT= Perl module for parsing XML encoding maps
+
+DEPENDS+= p5-XML-Parser>=2.18:../../textproc/p5-XML-Parser
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Encoding/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-Encoding/PLIST b/textproc/p5-XML-Encoding/PLIST
new file mode 100644
index 00000000000..3d065f59cde
--- /dev/null
+++ b/textproc/p5-XML-Encoding/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/12 06:39:55 erh Exp $
diff --git a/textproc/p5-XML-Encoding/distinfo b/textproc/p5-XML-Encoding/distinfo
new file mode 100644
index 00000000000..4ecc2d31148
--- /dev/null
+++ b/textproc/p5-XML-Encoding/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/12 06:39:55 erh Exp $
+
+SHA1 (XML-Encoding-1.01.tar.gz) = a923c1fe14b1a16b0f0f9138183633555bb5f312
+Size (XML-Encoding-1.01.tar.gz) = 189564 bytes