aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-htmlcompact
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-20 13:04:22 +0800
committerknu <knu@FreeBSD.org>2001-09-20 13:04:22 +0800
commit1c2cf3b33af8890c4d8cf8811785daf3f53d5d3a (patch)
tree73f2780694e9ab2a11bb07226cad032c828ec4e6 /textproc/ruby-htmlcompact
parentf3b70eea41b2166afe95e31b2f83247c7954f54c (diff)
downloadfreebsd-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.
Diffstat (limited to 'textproc/ruby-htmlcompact')
-rw-r--r--textproc/ruby-htmlcompact/Makefile29
-rw-r--r--textproc/ruby-htmlcompact/distinfo1
-rw-r--r--textproc/ruby-htmlcompact/pkg-comment1
-rw-r--r--textproc/ruby-htmlcompact/pkg-descr8
-rw-r--r--textproc/ruby-htmlcompact/pkg-plist1
5 files changed, 40 insertions, 0 deletions
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