aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-htmlrepair
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-20 13:05:29 +0800
committerknu <knu@FreeBSD.org>2001-09-20 13:05:29 +0800
commit79446d4d3bb116fb6d67827ea088c21a37bd46be (patch)
treed090f65a592a3ab562f5a989c44b99029618b3ad /textproc/ruby-htmlrepair
parent1c2cf3b33af8890c4d8cf8811785daf3f53d5d3a (diff)
downloadfreebsd-ports-graphics-79446d4d3bb116fb6d67827ea088c21a37bd46be.tar.gz
freebsd-ports-graphics-79446d4d3bb116fb6d67827ea088c21a37bd46be.tar.zst
freebsd-ports-graphics-79446d4d3bb116fb6d67827ea088c21a37bd46be.zip
Add ruby-htmlrepair, a Ruby library to repair unclosed tags in an HTML
document.
Diffstat (limited to 'textproc/ruby-htmlrepair')
-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
5 files changed, 40 insertions, 0 deletions
diff --git a/textproc/ruby-htmlrepair/Makefile b/textproc/ruby-htmlrepair/Makefile
new file mode 100644
index 00000000000..ab1351a40bb
--- /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 00000000000..ffd2eb3e5f6
--- /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 00000000000..edd64dcedf3
--- /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 00000000000..5c20557e740
--- /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 00000000000..dbba79326a8
--- /dev/null
+++ b/textproc/ruby-htmlrepair/pkg-plist
@@ -0,0 +1 @@
+%%RUBY_SITELIBDIR%%/htmlrepair.rb