summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-20 05:05:29 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-20 05:05:29 +0000
commit370bf54aacabdc2ce1902c694907f1834f8ead2d (patch)
treecd95673738ff48e4584ff45e7d89ad8b1c3035e7 /textproc
parentAdd ruby-htmlcompact, a Ruby library to compact an HTML document by (diff)
Add ruby-htmlrepair, a Ruby library to repair unclosed tags in an HTML
document.
Notes
Notes: svn path=/head/; revision=48001
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ruby-htmlrepair/Makefile29
-rw-r--r--textproc/ruby-htmlrepair/distinfo1
-rw-r--r--textproc/ruby-htmlrepair/pkg-comment1
-rw-r--r--textproc/ruby-htmlrepair/pkg-descr8
-rw-r--r--textproc/ruby-htmlrepair/pkg-plist1
6 files changed, 41 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index d4a31322ac34..da89c0e5edcc 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -171,6 +171,7 @@
SUBDIR += ruby-gdome
SUBDIR += ruby-html-parser
SUBDIR += ruby-htmlcompact
+ SUBDIR += ruby-htmlrepair
SUBDIR += ruby-htmlsplit
SUBDIR += ruby-mwdom
SUBDIR += ruby-nqxml
diff --git a/textproc/ruby-htmlrepair/Makefile b/textproc/ruby-htmlrepair/Makefile
new file mode 100644
index 000000000000..ab1351a40bbf
--- /dev/null
+++ b/textproc/ruby-htmlrepair/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: htmlrepair.rb
+# Date created: 20 September 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= htmlrepair
+PORTVERSION= 1.0.1
+CATEGORIES= textproc ruby
+MASTER_SITES= http://www.moonwolf.com/ruby/archive/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/htmlsplit.rb:${PORTSDIR}/textproc/ruby-htmlsplit
+
+USE_ZIP= yes
+USE_RUBY= yes
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/htmlrepair.rb ${RUBY_SITELIBDIR}/
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-htmlrepair/distinfo b/textproc/ruby-htmlrepair/distinfo
new file mode 100644
index 000000000000..ffd2eb3e5f67
--- /dev/null
+++ b/textproc/ruby-htmlrepair/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/htmlrepair101.zip) = 8701747563a8b968ba9d23dcd4476325
diff --git a/textproc/ruby-htmlrepair/pkg-comment b/textproc/ruby-htmlrepair/pkg-comment
new file mode 100644
index 000000000000..edd64dcedf3e
--- /dev/null
+++ b/textproc/ruby-htmlrepair/pkg-comment
@@ -0,0 +1 @@
+A Ruby library to repair unclosed tags in an HTML document
diff --git a/textproc/ruby-htmlrepair/pkg-descr b/textproc/ruby-htmlrepair/pkg-descr
new file mode 100644
index 000000000000..5c20557e7409
--- /dev/null
+++ b/textproc/ruby-htmlrepair/pkg-descr
@@ -0,0 +1,8 @@
+This is htmlrepair.rb, a Ruby library to repair unclosed tags in an
+HTML document.
+
+It is used with htmlsplit.rb and adds a method "repair" to the
+HTMLSplit class.
+
+Author: MoonWolf <moonwolf-ruby@moonwolf.com>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=htmlrepair
diff --git a/textproc/ruby-htmlrepair/pkg-plist b/textproc/ruby-htmlrepair/pkg-plist
new file mode 100644
index 000000000000..dbba79326a82
--- /dev/null
+++ b/textproc/ruby-htmlrepair/pkg-plist
@@ -0,0 +1 @@
+%%RUBY_SITELIBDIR%%/htmlrepair.rb