aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2010-04-12 12:47:55 +0800
committerstas <stas@FreeBSD.org>2010-04-12 12:47:55 +0800
commit176e3cee621df0cfb6da01464caad3df46a95c6e (patch)
tree5d67383f1d8d2eb508971177fac3306a28e97ba6 /devel
parent678a7b586e73a140ef51e3e9bdbeef34fde7bb22 (diff)
downloadfreebsd-ports-gnome-176e3cee621df0cfb6da01464caad3df46a95c6e.tar.gz
freebsd-ports-gnome-176e3cee621df0cfb6da01464caad3df46a95c6e.tar.zst
freebsd-ports-gnome-176e3cee621df0cfb6da01464caad3df46a95c6e.zip
- Add ruby-progressbar, the library to display progressbars.
Author: Satoru Takabayashi <satoru@namazu.org> WWW: http://0xcc.net/ruby-progressbar/index.html.en
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/ruby-progressbar/Makefile35
-rw-r--r--devel/ruby-progressbar/distinfo3
-rw-r--r--devel/ruby-progressbar/pkg-descr6
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8a57c5cf1bca..478a86f0c173 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2862,6 +2862,7 @@
SUBDIR += ruby-multi
SUBDIR += ruby-ncurses
SUBDIR += ruby-poll
+ SUBDIR += ruby-progressbar
SUBDIR += ruby-property
SUBDIR += ruby-racc
SUBDIR += ruby-rbbr
diff --git a/devel/ruby-progressbar/Makefile b/devel/ruby-progressbar/Makefile
new file mode 100644
index 000000000000..a8c59ddc60bb
--- /dev/null
+++ b/devel/ruby-progressbar/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: ruby-progressbar
+# Date created: 11 April 2010
+# Whom: Stanislav Sedov <stas@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= progressbar
+PORTVERSION= 0.9
+CATEGORIES= devel ruby
+MASTER_SITES= http://0xcc.net/ruby-progressbar/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= stas@FreeBSD.org
+COMMENT= A ruby library to display progressbars
+
+USE_RUBY= yes
+NO_BUILD= yes
+
+PLIST_FILES= ${RUBY_SITELIBDIR:C,^${PREFIX}/?,,g}/progressbar.rb
+DOCSDIR= ${RUBY_MODDOCDIR}
+.if !defined(NOPORTDOCS)
+PORTDOCS= progressbar.en.rd progressbar.ja.rd ChangeLog
+.endif
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/progressbar.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-progressbar/distinfo b/devel/ruby-progressbar/distinfo
new file mode 100644
index 000000000000..91b352b0352a
--- /dev/null
+++ b/devel/ruby-progressbar/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/ruby-progressbar-0.9.tar.gz) = c3bf66edc5af8760bb1468a55746335e
+SHA256 (ruby/ruby-progressbar-0.9.tar.gz) = f2ea4a03fafdfc55ac52e84664167a288ee63f80591392e89fe8925024110551
+SIZE (ruby/ruby-progressbar-0.9.tar.gz) = 5580
diff --git a/devel/ruby-progressbar/pkg-descr b/devel/ruby-progressbar/pkg-descr
new file mode 100644
index 000000000000..d9cc028cd0ba
--- /dev/null
+++ b/devel/ruby-progressbar/pkg-descr
@@ -0,0 +1,6 @@
+Ruby/ProgressBar is a text progress bar library for Ruby. It can
+indicate progress with percentage, a progress bar, and estimated
+remaining time.
+
+Author: Satoru Takabayashi <satoru@namazu.org>
+WWW: http://0xcc.net/ruby-progressbar/index.html.en