From f5fb9f4a2dfedb1f55b9e140a9cf1ce3be34ded2 Mon Sep 17 00:00:00 2001 From: avsm Date: Sun, 21 Jan 2001 19:39:53 +0000 Subject: [PATCH] - import of p5-HTML-Tree-3.09 -- This is a collection of modules that represent, create, and extract information from HTML syntax trees. These modules used to be part of the libwww-perl distribution, but are now unbundled in order to facilitate a separate development track. Bug reports and discussions about these modules can still be sent to the mailing list, or to . --- www/p5-HTML-Tree/Makefile | 24 ++++++++++++++++++++++++ www/p5-HTML-Tree/files/md5 | 3 +++ www/p5-HTML-Tree/pkg/COMMENT | 1 + www/p5-HTML-Tree/pkg/DESCR | 21 +++++++++++++++++++++ www/p5-HTML-Tree/pkg/PLIST | 14 ++++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 www/p5-HTML-Tree/Makefile create mode 100644 www/p5-HTML-Tree/files/md5 create mode 100644 www/p5-HTML-Tree/pkg/COMMENT create mode 100644 www/p5-HTML-Tree/pkg/DESCR create mode 100644 www/p5-HTML-Tree/pkg/PLIST diff --git a/www/p5-HTML-Tree/Makefile b/www/p5-HTML-Tree/Makefile new file mode 100644 index 00000000000..0707322d3c9 --- /dev/null +++ b/www/p5-HTML-Tree/Makefile @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/01/21 19:39:53 avsm Exp $ + +DISTNAME= HTML-Tree-3.09 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www perl5 +NEED_VERSION= 1.351 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= HTML + +PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl +BUILD_DEPENDS= ${PERL_MODULES}/${ARCH}-openbsd/HTML/Entities.pm::www/p5-HTML-Parser \ + ${PERL_MODULES}/HTML/Tagset.pm::www/p5-HTML-Tagset +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAINTAINER= Anil Madhavapeddy + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= perl + +.include diff --git a/www/p5-HTML-Tree/files/md5 b/www/p5-HTML-Tree/files/md5 new file mode 100644 index 00000000000..87b09df7b59 --- /dev/null +++ b/www/p5-HTML-Tree/files/md5 @@ -0,0 +1,3 @@ +MD5 (HTML-Tree-3.09.tar.gz) = 6af28b9daaf0931fae8b4177868ff726 +RMD160 (HTML-Tree-3.09.tar.gz) = be3d1b85dfd5239f51b321920034d57856b6aa18 +SHA1 (HTML-Tree-3.09.tar.gz) = f6c93a830524070e20b0f448ecdddc6a1253a1a2 diff --git a/www/p5-HTML-Tree/pkg/COMMENT b/www/p5-HTML-Tree/pkg/COMMENT new file mode 100644 index 00000000000..9020123efe8 --- /dev/null +++ b/www/p5-HTML-Tree/pkg/COMMENT @@ -0,0 +1 @@ +perl parser that builds an HTML tree diff --git a/www/p5-HTML-Tree/pkg/DESCR b/www/p5-HTML-Tree/pkg/DESCR new file mode 100644 index 00000000000..418136a894c --- /dev/null +++ b/www/p5-HTML-Tree/pkg/DESCR @@ -0,0 +1,21 @@ +This is a collection of modules that represent, create, and extract +information from HTML syntax trees. These modules used to be part +of the libwww-perl distribution, but are now unbundled in order to +facilitate a separate development track. Bug reports and discussions +about these modules can still be sent to the +mailing list, or to . + +The modules present in this collection are: + +HTML::Element - represents the nodes of the HTML syntax trees. The +elements have other elements and text segments as children. It has +methods to build, alter, and traverse the structure of the tree. + +HTML::TreeBuilder - uses HTML::Parser to read HTML document text +and build from it a syntax tree made of HTML::Element nodes. + +HTML::Parse - deprecated. Now just a wrapper around HTML::TreeBuilder + +HTML::AsSubs - Easy way to build an HTML syntax tree by nesting +functions. + diff --git a/www/p5-HTML-Tree/pkg/PLIST b/www/p5-HTML-Tree/pkg/PLIST new file mode 100644 index 00000000000..050d6b02f0c --- /dev/null +++ b/www/p5-HTML-Tree/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/21 19:39:53 avsm Exp $ +libdata/perl5/site_perl/HTML/AsSubs.pm +libdata/perl5/site_perl/HTML/Element.pm +libdata/perl5/site_perl/HTML/Element/traverse.pm +libdata/perl5/site_perl/HTML/Parse.pm +libdata/perl5/site_perl/HTML/Tree.pm +libdata/perl5/site_perl/HTML/TreeBuilder.pm +man/man3/HTML::AsSubs.3p +man/man3/HTML::Element.3p +man/man3/HTML::Element::traverse.3p +man/man3/HTML::Parse.3p +man/man3/HTML::Tree.3p +man/man3/HTML::TreeBuilder.3p +@dirrm libdata/perl5/site_perl/HTML/Element