aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2005-10-25 18:13:43 +0800
committerskv <skv@FreeBSD.org>2005-10-25 18:13:43 +0800
commitdbb7d42a8fdee61258cd6c83ddf445adf4a88ad4 (patch)
tree0824ee215b05d41d6348ee24dea18a3cbde077a6 /textproc
parent6e854ca985c621fd781f0d1fec0030fd2b14f882 (diff)
downloadfreebsd-ports-gnome-dbb7d42a8fdee61258cd6c83ddf445adf4a88ad4.tar.gz
freebsd-ports-gnome-dbb7d42a8fdee61258cd6c83ddf445adf4a88ad4.tar.zst
freebsd-ports-gnome-dbb7d42a8fdee61258cd6c83ddf445adf4a88ad4.zip
Add p5-XML-Driver-HTML 0.06, Perl SAX Driver for non wellformed HTML.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-Driver-HTML/Makefile32
-rw-r--r--textproc/p5-XML-Driver-HTML/distinfo2
-rw-r--r--textproc/p5-XML-Driver-HTML/pkg-descr8
4 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9ac3f4fd427f..751c8ac8eac0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -463,6 +463,7 @@
SUBDIR += p5-XML-DTDParser
SUBDIR += p5-XML-DifferenceMarkup
SUBDIR += p5-XML-Directory
+ SUBDIR += p5-XML-Driver-HTML
SUBDIR += p5-XML-Dumper
SUBDIR += p5-XML-Elemental
SUBDIR += p5-XML-Encoding
diff --git a/textproc/p5-XML-Driver-HTML/Makefile b/textproc/p5-XML-Driver-HTML/Makefile
new file mode 100644
index 000000000000..f2555e4c606f
--- /dev/null
+++ b/textproc/p5-XML-Driver-HTML/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: XML-Driver-HTML
+# Date created: 22 October 2005
+# Whom: Dmitry Morozovsky <marck@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Driver-HTML
+PORTVERSION= 0.06
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Perl SAX Driver for non wellformed HTML
+
+BUILD_DEPENDS= ${SITE_PERL}/XML/TreeBuilder.pm:${PORTSDIR}/textproc/p5-XML-TreeBuilder \
+ ${SITE_PERL}/XML/Handler/YAWriter.pm:${PORTSDIR}/textproc/p5-XML-Handler-YAWriter
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+PLIST_FILES= bin/html2xhtml \
+ ${SITE_PERL_REL}/XML/Driver/HTML.pm \
+ ${SITE_PERL_REL}/${PERL_ARCH}/auto/XML/Driver/HTML/.packlist
+PLIST_DIRS+= ${SITE_PERL_REL}/XML/Driver \
+ ${SITE_PERL_REL}/${PERL_ARCH}/auto/XML/Driver/HTML
+MAN1= html2xhtml.1
+MAN3= XML::Driver::HTML.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Driver-HTML/distinfo b/textproc/p5-XML-Driver-HTML/distinfo
new file mode 100644
index 000000000000..820bd80ef69b
--- /dev/null
+++ b/textproc/p5-XML-Driver-HTML/distinfo
@@ -0,0 +1,2 @@
+MD5 (XML-Driver-HTML-0.06.tar.gz) = 43f29d0060b4e22687ed91e651f0addb
+SIZE (XML-Driver-HTML-0.06.tar.gz) = 7000
diff --git a/textproc/p5-XML-Driver-HTML/pkg-descr b/textproc/p5-XML-Driver-HTML/pkg-descr
new file mode 100644
index 000000000000..9f945b1cf366
--- /dev/null
+++ b/textproc/p5-XML-Driver-HTML/pkg-descr
@@ -0,0 +1,8 @@
+XML::Driver::HTML is a SAX Driver for HTML.
+
+There is no need for the HTML input to be weel formed, as XML::Driver::HTML is
+generating its SAX events by walking a HTML::TreeBuilder object. The simplest
+kind of use, is a filter from HTML to XHTML using XML::Handler::YAWriter as a
+SAX Handler.
+
+WWW: http://search.cpan.org/dist/XML-Driver-HTML/