diff options
author | knu <knu@FreeBSD.org> | 2001-09-20 13:04:22 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-09-20 13:04:22 +0800 |
commit | 1c2cf3b33af8890c4d8cf8811785daf3f53d5d3a (patch) | |
tree | 73f2780694e9ab2a11bb07226cad032c828ec4e6 | |
parent | f3b70eea41b2166afe95e31b2f83247c7954f54c (diff) | |
download | freebsd-ports-gnome-1c2cf3b33af8890c4d8cf8811785daf3f53d5d3a.tar.gz freebsd-ports-gnome-1c2cf3b33af8890c4d8cf8811785daf3f53d5d3a.tar.zst freebsd-ports-gnome-1c2cf3b33af8890c4d8cf8811785daf3f53d5d3a.zip |
Add ruby-htmlcompact, a Ruby library to compact an HTML document by
reducing whitespaces.
-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 |