From d0bfc18a247bae9b8d2e1a948092614384030deb Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 20 Sep 2001 05:04:22 +0000 Subject: Add ruby-htmlcompact, a Ruby library to compact an HTML document by reducing whitespaces. --- textproc/Makefile | 1 + textproc/ruby-htmlcompact/Makefile | 29 +++++++++++++++++++++++++++++ textproc/ruby-htmlcompact/distinfo | 1 + textproc/ruby-htmlcompact/pkg-comment | 1 + textproc/ruby-htmlcompact/pkg-descr | 8 ++++++++ textproc/ruby-htmlcompact/pkg-plist | 1 + 6 files changed, 41 insertions(+) create mode 100644 textproc/ruby-htmlcompact/Makefile create mode 100644 textproc/ruby-htmlcompact/distinfo create mode 100644 textproc/ruby-htmlcompact/pkg-comment create mode 100644 textproc/ruby-htmlcompact/pkg-descr create mode 100644 textproc/ruby-htmlcompact/pkg-plist (limited to 'textproc') diff --git a/textproc/Makefile b/textproc/Makefile index 8a1a200f6eee..d4a31322ac34 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -170,6 +170,7 @@ SUBDIR += ruby-erb SUBDIR += ruby-gdome SUBDIR += ruby-html-parser + SUBDIR += ruby-htmlcompact SUBDIR += ruby-htmlsplit SUBDIR += ruby-mwdom SUBDIR += ruby-nqxml diff --git a/textproc/ruby-htmlcompact/Makefile b/textproc/ruby-htmlcompact/Makefile new file mode 100644 index 000000000000..725275166039 --- /dev/null +++ b/textproc/ruby-htmlcompact/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: htmlcompact.rb +# Date created: 20 September 2001 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= htmlcompact +PORTVERSION= 1.0.2 +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_BZIP2= yes +USE_RUBY= yes + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +do-install: + ${INSTALL_DATA} ${WRKSRC}/htmlcompact.rb ${RUBY_SITELIBDIR}/ + +.include diff --git a/textproc/ruby-htmlcompact/distinfo b/textproc/ruby-htmlcompact/distinfo new file mode 100644 index 000000000000..9c33d7952eed --- /dev/null +++ b/textproc/ruby-htmlcompact/distinfo @@ -0,0 +1 @@ +MD5 (ruby/htmlcompact102.tar.bz2) = 1018aed819f73812365567558d58a259 diff --git a/textproc/ruby-htmlcompact/pkg-comment b/textproc/ruby-htmlcompact/pkg-comment new file mode 100644 index 000000000000..26bab124cdbc --- /dev/null +++ b/textproc/ruby-htmlcompact/pkg-comment @@ -0,0 +1 @@ +A Ruby library to compact an HTML document by reducing whitespaces diff --git a/textproc/ruby-htmlcompact/pkg-descr b/textproc/ruby-htmlcompact/pkg-descr new file mode 100644 index 000000000000..139935adf76f --- /dev/null +++ b/textproc/ruby-htmlcompact/pkg-descr @@ -0,0 +1,8 @@ +This is htmlcompact.rb, a Ruby library to compact an HTML document by +reducing whitespaces. + +It is used with htmlsplit.rb and adds a method "compact" to the +HTMLSplit class. + +Author: MoonWolf +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=htmlcompact diff --git a/textproc/ruby-htmlcompact/pkg-plist b/textproc/ruby-htmlcompact/pkg-plist new file mode 100644 index 000000000000..01b103f31dde --- /dev/null +++ b/textproc/ruby-htmlcompact/pkg-plist @@ -0,0 +1 @@ +%%RUBY_SITELIBDIR%%/htmlcompact.rb -- cgit v1.2.3