diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-20 05:04:22 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-20 05:04:22 +0000 |
commit | d0bfc18a247bae9b8d2e1a948092614384030deb (patch) | |
tree | 7d967a9d43ac0057ae0bf0bdb7ede7561262c304 /textproc | |
parent | cbec7ec0b5dfd25ee57bd87d6d0fe138b11a0645 (diff) | |
download | ports-d0bfc18a247bae9b8d2e1a948092614384030deb.tar.gz ports-d0bfc18a247bae9b8d2e1a948092614384030deb.zip |
Add ruby-htmlcompact, a Ruby library to compact an HTML document by
reducing whitespaces.
Notes
Notes:
svn path=/head/; revision=48000
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/ruby-htmlcompact/Makefile | 29 | ||||
-rw-r--r-- | textproc/ruby-htmlcompact/distinfo | 1 | ||||
-rw-r--r-- | textproc/ruby-htmlcompact/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/ruby-htmlcompact/pkg-descr | 8 | ||||
-rw-r--r-- | textproc/ruby-htmlcompact/pkg-plist | 1 |
6 files changed, 41 insertions, 0 deletions
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 <knu@idaemons.org> +# +# $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 <bsd.port.mk> 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 <moonwolf-ruby@moonwolf.com> +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 |