summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Tree
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-01-29 03:26:27 +0000
committerAde Lovett <ade@FreeBSD.org>2000-01-29 03:26:27 +0000
commite6f89f1bac0c0566952637df0747585ee962824e (patch)
tree13736c700f407c401f918dd01f6764741df3e196 /www/p5-HTML-Tree
parentp5-SyslogScan contains routines to parse system logs. (diff)
A collection of modules that represent, create, and
extract information from HTML syntax trees. PR: 15862 Submitted by: Dmitry Sivachenko <dima@Chg.RU>
Notes
Notes: svn path=/head/; revision=25196
Diffstat (limited to 'www/p5-HTML-Tree')
-rw-r--r--www/p5-HTML-Tree/Makefile28
-rw-r--r--www/p5-HTML-Tree/distinfo1
-rw-r--r--www/p5-HTML-Tree/pkg-comment1
-rw-r--r--www/p5-HTML-Tree/pkg-descr21
-rw-r--r--www/p5-HTML-Tree/pkg-plist7
5 files changed, 58 insertions, 0 deletions
diff --git a/www/p5-HTML-Tree/Makefile b/www/p5-HTML-Tree/Makefile
new file mode 100644
index 000000000000..ed754261bd87
--- /dev/null
+++ b/www/p5-HTML-Tree/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-HTML-Tree
+# Version required: 0.62
+# Date created: 3 January 2000
+# Whom: Dmitry Sivachenko <dima@Chg.RU>
+#
+# $FreeBSD$
+#
+
+DISTNAME= HTML-Tree-0.62
+PKGNAME= p5-HTML-Tree-0.62
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTML
+
+MAINTAINER= dima@Chg.RU
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser
+
+USE_PERL5= YES
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+MAN3= HTML::Parse.3 HTML::TreeBuilder.3 HTML::AsSubs.3 HTML::Element.3
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTML-Tree/distinfo b/www/p5-HTML-Tree/distinfo
new file mode 100644
index 000000000000..f38d0c226af6
--- /dev/null
+++ b/www/p5-HTML-Tree/distinfo
@@ -0,0 +1 @@
+MD5 (HTML-Tree-0.62.tar.gz) = 4bf6a0b2545ffe43b150a6c0d23faf78
diff --git a/www/p5-HTML-Tree/pkg-comment b/www/p5-HTML-Tree/pkg-comment
new file mode 100644
index 000000000000..fc30b10e8cd4
--- /dev/null
+++ b/www/p5-HTML-Tree/pkg-comment
@@ -0,0 +1 @@
+A collection of modules to manupulate HTML syntax trees
diff --git a/www/p5-HTML-Tree/pkg-descr b/www/p5-HTML-Tree/pkg-descr
new file mode 100644
index 000000000000..9c4c57d76f8b
--- /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.
+
+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.
+ The HTML::Element class have methods to 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.
+
+--Dima
+dima@Chg.RU
diff --git a/www/p5-HTML-Tree/pkg-plist b/www/p5-HTML-Tree/pkg-plist
new file mode 100644
index 000000000000..63e48d86ce08
--- /dev/null
+++ b/www/p5-HTML-Tree/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/HTML/AsSubs.pm
+lib/perl5/site_perl/%%PERL_VER%%/HTML/Element.pm
+lib/perl5/site_perl/%%PERL_VER%%/HTML/Parse.pm
+lib/perl5/site_perl/%%PERL_VER%%/HTML/TreeBuilder.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML-Tree/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/HTML-Tree
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/HTML 2>/dev/null || true