summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-12-28 12:39:39 +0000
committerhubertf <hubertf>2000-12-28 12:39:39 +0000
commit1effe5c7a1a43788259a356f68a4fd7bf391e761 (patch)
tree63e67abefa9ea1ff185bc07f29aeb0af5f8d13c2 /textproc
parent2d586fe94c87d7b5e7e3c73b9555a45817f228b4 (diff)
downloadpkgsrc-1effe5c7a1a43788259a356f68a4fd7bf391e761.tar.gz
Add p5-XML-Node-0.10:
If you are only interested in processing certain nodes in an XML file, this module can help you simplify your Perl scripts significantly. The XML::Node module allows you to register callback functions or variables for any XML node. If you register a call back function, it will be called when the node of the type you specified are encountered. If you register a variable, the content of a XML node will be appended to that variable automatically.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-XML-Node/Makefile21
-rw-r--r--textproc/p5-XML-Node/files/md53
-rw-r--r--textproc/p5-XML-Node/pkg/COMMENT1
-rw-r--r--textproc/p5-XML-Node/pkg/DESCR8
-rw-r--r--textproc/p5-XML-Node/pkg/PLIST1
5 files changed, 34 insertions, 0 deletions
diff --git a/textproc/p5-XML-Node/Makefile b/textproc/p5-XML-Node/Makefile
new file mode 100644
index 00000000000..e03919da393
--- /dev/null
+++ b/textproc/p5-XML-Node/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/28 12:39:39 hubertf Exp $
+#
+
+DISTNAME= XML-Node-0.10
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= http://belmont-shores.ics.uci.edu/pub/ \
+ ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://belmont-shores.ics.uci.edu/XML::Node/
+
+DEPENDS+= XML-Parser-2.*:../p5-XML-Parser
+
+USE_PERL5= yes
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Node/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-Node/files/md5 b/textproc/p5-XML-Node/files/md5
new file mode 100644
index 00000000000..3166d01ce1b
--- /dev/null
+++ b/textproc/p5-XML-Node/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/28 12:39:39 hubertf Exp $
+
+MD5 (XML-Node-0.10.tar.gz) = 901719349ca99a24dcc5599e91e0a214
diff --git a/textproc/p5-XML-Node/pkg/COMMENT b/textproc/p5-XML-Node/pkg/COMMENT
new file mode 100644
index 00000000000..7cc33b73c63
--- /dev/null
+++ b/textproc/p5-XML-Node/pkg/COMMENT
@@ -0,0 +1 @@
+Node-based XML parsing: an simplified interface to XML::Parser
diff --git a/textproc/p5-XML-Node/pkg/DESCR b/textproc/p5-XML-Node/pkg/DESCR
new file mode 100644
index 00000000000..d03812f432b
--- /dev/null
+++ b/textproc/p5-XML-Node/pkg/DESCR
@@ -0,0 +1,8 @@
+If you are only interested in processing certain nodes in an XML
+file, this module can help you simplify your Perl scripts significantly.
+
+The XML::Node module allows you to register callback functions
+or variables for any XML node. If you register a call back function,
+it will be called when the node of the type you specified are
+encountered. If you register a variable, the content of a XML node
+will be appended to that variable automatically.
diff --git a/textproc/p5-XML-Node/pkg/PLIST b/textproc/p5-XML-Node/pkg/PLIST
new file mode 100644
index 00000000000..2219a0865c8
--- /dev/null
+++ b/textproc/p5-XML-Node/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/28 12:39:39 hubertf Exp $