From 370bf54aacabdc2ce1902c694907f1834f8ead2d Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 20 Sep 2001 05:05:29 +0000 Subject: Add ruby-htmlrepair, a Ruby library to repair unclosed tags in an HTML document. --- textproc/Makefile | 1 + textproc/ruby-htmlrepair/Makefile | 29 +++++++++++++++++++++++++++++ textproc/ruby-htmlrepair/distinfo | 1 + textproc/ruby-htmlrepair/pkg-comment | 1 + textproc/ruby-htmlrepair/pkg-descr | 8 ++++++++ textproc/ruby-htmlrepair/pkg-plist | 1 + 6 files changed, 41 insertions(+) create mode 100644 textproc/ruby-htmlrepair/Makefile create mode 100644 textproc/ruby-htmlrepair/distinfo create mode 100644 textproc/ruby-htmlrepair/pkg-comment create mode 100644 textproc/ruby-htmlrepair/pkg-descr create mode 100644 textproc/ruby-htmlrepair/pkg-plist (limited to 'textproc') 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 +# +# $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 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 +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 -- cgit v1.2.3