aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-07-08 10:12:21 +0800
committerclsung <clsung@FreeBSD.org>2006-07-08 10:12:21 +0800
commit1c7fa96ebf83327101f0f320d9f4f4044cfaec63 (patch)
treeab0da0038a27ac19e8b215f0678e2fa52ee1395b /www
parent744ae42469f2009a77a312df7df6118ba1dfd355 (diff)
downloadfreebsd-ports-gnome-1c7fa96ebf83327101f0f320d9f4f4044cfaec63.tar.gz
freebsd-ports-gnome-1c7fa96ebf83327101f0f320d9f4f4044cfaec63.tar.zst
freebsd-ports-gnome-1c7fa96ebf83327101f0f320d9f4f4044cfaec63.zip
- HTML::TagParser is a pure Perl implementaion for parsing HTML files.
This module provides some methods like DOM. This module is not strict about XHTML format because many of HTML pages are not strict. You know, many pages use <br> elemtents instead of <br/> and have <p> elements which are not closed. WWW: http://search.cpan.org/dist/p5-HTML-TagParser/
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-HTML-TagParser/Makefile22
-rw-r--r--www/p5-HTML-TagParser/distinfo3
-rw-r--r--www/p5-HTML-TagParser/pkg-descr15
-rw-r--r--www/p5-HTML-TagParser/pkg-plist5
5 files changed, 46 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 00a265f9f337..e3e1491322da 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -610,6 +610,7 @@
SUBDIR += p5-HTML-TableTiler
SUBDIR += p5-HTML-TagCloud
SUBDIR += p5-HTML-TagCloud-Extended
+ SUBDIR += p5-HTML-TagParser
SUBDIR += p5-HTML-Tagset
SUBDIR += p5-HTML-Template
SUBDIR += p5-HTML-Template-Associate
diff --git a/www/p5-HTML-TagParser/Makefile b/www/p5-HTML-TagParser/Makefile
new file mode 100644
index 000000000000..73fa2d05c55f
--- /dev/null
+++ b/www/p5-HTML-TagParser/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-HTML-TagParser
+# Date Created: 8 Jul 2006
+# Whom: clsung
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML-TagParser
+PORTVERSION= 0.13
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Yet another HTML tag parser by pure Perl implementation
+
+PERL_CONFIGURE= yes
+
+MAN3= HTML::TagParser.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTML-TagParser/distinfo b/www/p5-HTML-TagParser/distinfo
new file mode 100644
index 000000000000..b73e46d1856a
--- /dev/null
+++ b/www/p5-HTML-TagParser/distinfo
@@ -0,0 +1,3 @@
+MD5 (HTML-TagParser-0.13.tar.gz) = 9701763f7f2f0e563ab13deea9209335
+SHA256 (HTML-TagParser-0.13.tar.gz) = de9182666f32efff5549a6c55c4d3e455900a12f4cb209ccfe44947959a53ca5
+SIZE (HTML-TagParser-0.13.tar.gz) = 33514
diff --git a/www/p5-HTML-TagParser/pkg-descr b/www/p5-HTML-TagParser/pkg-descr
new file mode 100644
index 000000000000..ceae291b934f
--- /dev/null
+++ b/www/p5-HTML-TagParser/pkg-descr
@@ -0,0 +1,15 @@
+HTML::TagParser is a pure Perl implementaion for parsing HTML files.
+This module provides some methods like DOM. This module is not strict
+about XHTML format because many of HTML pages are not strict. You know,
+many pages use <br> elemtents instead of <br/> and have <p> elements
+which are not closed.
+
+This module natively understands a character set of document by reading
+its meta element.
+
+ <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
+
+The parsed document's encoding is converted as this class's fixed
+internal encoding "UTF-8".
+
+WWW: http://search.cpan.org/dist/HTML-TagParser/
diff --git a/www/p5-HTML-TagParser/pkg-plist b/www/p5-HTML-TagParser/pkg-plist
new file mode 100644
index 000000000000..a3ca920b8fa4
--- /dev/null
+++ b/www/p5-HTML-TagParser/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/HTML/TagParser.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML-TagParser/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML-TagParser
+@dirrmtry %%SITE_PERL%%/HTML
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML