summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-TreeBuilder
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2010-04-24 09:34:10 +0000
committerseb <seb@pkgsrc.org>2010-04-24 09:34:10 +0000
commit4a5ec6d388bc169d00aeca5f5cd2f8470528bd0c (patch)
tree37a4a9bec73ce1f7896558c9e88664384980f890 /textproc/p5-XML-TreeBuilder
parent153a9b73391123b72d244ea8f19d4ea347759c79 (diff)
downloadpkgsrc-4a5ec6d388bc169d00aeca5f5cd2f8470528bd0c.tar.gz
Initial import of p5-XML-TreeBuilder version 3.09 in the NetBSD
Packages Collection. The Perl 5 module XML::TreeBuilder uses XML::Parser to make XML document trees constructed of XML::Element objects (and XML::Element is a subclass of HTML::Element adapted for XML). XML::TreeBuilder is meant particularly for people who are used to the HTML::TreeBuilder / HTML::Element interface to document trees, and who don't want to learn some other document interface.
Diffstat (limited to 'textproc/p5-XML-TreeBuilder')
-rw-r--r--textproc/p5-XML-TreeBuilder/DESCR6
-rw-r--r--textproc/p5-XML-TreeBuilder/Makefile25
-rw-r--r--textproc/p5-XML-TreeBuilder/distinfo5
3 files changed, 36 insertions, 0 deletions
diff --git a/textproc/p5-XML-TreeBuilder/DESCR b/textproc/p5-XML-TreeBuilder/DESCR
new file mode 100644
index 00000000000..e38f2692ae7
--- /dev/null
+++ b/textproc/p5-XML-TreeBuilder/DESCR
@@ -0,0 +1,6 @@
+The Perl 5 module XML::TreeBuilder uses XML::Parser to make XML
+document trees constructed of XML::Element objects (and XML::Element
+is a subclass of HTML::Element adapted for XML). XML::TreeBuilder
+is meant particularly for people who are used to the HTML::TreeBuilder
+/ HTML::Element interface to document trees, and who don't want to
+learn some other document interface.
diff --git a/textproc/p5-XML-TreeBuilder/Makefile b/textproc/p5-XML-TreeBuilder/Makefile
new file mode 100644
index 00000000000..d5d153d5197
--- /dev/null
+++ b/textproc/p5-XML-TreeBuilder/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/04/24 09:34:10 seb Exp $
+
+DISTNAME= XML-TreeBuilder-3.09
+PKGNAME= p5-${DISTNAME}
+#PKGREVISION= 1
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/XML-TreeBuilder/
+COMMENT= Perl 5 parser that builds a tree of XML::Element objects
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+# The '-' below is not a typo!
+PERL5_PACKLIST= auto/XML-TreeBuilder/.packlist
+
+DEPENDS+= p5-HTML-Tree>=3.08:../../www/p5-HTML-Tree
+DEPENDS+= p5-HTML-Tagset>=3.02:../../www/p5-HTML-Tagset
+DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-TreeBuilder/distinfo b/textproc/p5-XML-TreeBuilder/distinfo
new file mode 100644
index 00000000000..91f23a13cdc
--- /dev/null
+++ b/textproc/p5-XML-TreeBuilder/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/04/24 09:34:10 seb Exp $
+
+SHA1 (XML-TreeBuilder-3.09.tar.gz) = 99362844b8400162fa344bb765b37dab30bed031
+RMD160 (XML-TreeBuilder-3.09.tar.gz) = 0d49a47172e13107e6ae564d867efe4cc1670ca7
+Size (XML-TreeBuilder-3.09.tar.gz) = 6546 bytes