summaryrefslogtreecommitdiff
path: root/misc/ruby-progressbar
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-03-01 07:17:23 +0000
committerobache <obache@pkgsrc.org>2008-03-01 07:17:23 +0000
commite7f19a6836133dc3c81f4173821c646480fede3e (patch)
treed42aa19ecf599ae043e0928f971400916469520b /misc/ruby-progressbar
parent50e3759012ca9e100de5e9750866cd0a532410fd (diff)
downloadpkgsrc-e7f19a6836133dc3c81f4173821c646480fede3e.tar.gz
Import ruby-progressbar version 0.9.
Ruby/ProgressBar is a text progress bar library for Ruby. It can indicate progress with percentage, a progress bar, and estimated remaining time.
Diffstat (limited to 'misc/ruby-progressbar')
-rw-r--r--misc/ruby-progressbar/DESCR2
-rw-r--r--misc/ruby-progressbar/Makefile31
-rw-r--r--misc/ruby-progressbar/PLIST5
-rw-r--r--misc/ruby-progressbar/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/misc/ruby-progressbar/DESCR b/misc/ruby-progressbar/DESCR
new file mode 100644
index 00000000000..d7dab963cbb
--- /dev/null
+++ b/misc/ruby-progressbar/DESCR
@@ -0,0 +1,2 @@
+Ruby/ProgressBar is a text progress bar library for Ruby. It can indicate
+progress with percentage, a progress bar, and estimated remaining time.
diff --git a/misc/ruby-progressbar/Makefile b/misc/ruby-progressbar/Makefile
new file mode 100644
index 00000000000..75cf44c2963
--- /dev/null
+++ b/misc/ruby-progressbar/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/01 07:17:23 obache Exp $
+#
+
+DISTNAME= ruby-progressbar-0.9
+PKGNAME= ${DISTNAME:S/ruby-/${RUBY_PKGPREFIX}-/}
+CATEGORIES= misc ruby
+MASTER_SITES= http://0xcc.net/ruby-progressbar/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://0xcc.net/ruby-progressbar/
+COMMENT= Text Progress Bar Library for Ruby
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # none
+
+NO_BUILD= yes
+
+INSTALLATION_DIRS= ${RUBY_DOCDIR}/progressbar ${RUBY_SITELIBDIR}
+
+do-test:
+ ${RUN} cd ${WRKSRC}; ${RUBY} test.rb
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/progressbar.rb ${DESTDIR}${RUBY_SITELIBDIR}
+.for d in progressbar.en.rd progressbar.ja.rd
+ ${INSTALL_DATA} ${WRKSRC}/${d} ${DESTDIR}${RUBY_DOCDIR}/progressbar
+.endfor
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/ruby-progressbar/PLIST b/misc/ruby-progressbar/PLIST
new file mode 100644
index 00000000000..ba075d35688
--- /dev/null
+++ b/misc/ruby-progressbar/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/01 07:17:23 obache Exp $
+${RUBY_SITELIBDIR}/progressbar.rb
+${RUBY_DOCDIR}/progressbar/progressbar.en.rd
+${RUBY_DOCDIR}/progressbar/progressbar.ja.rd
+@dirrm ${RUBY_DOCDIR}/progressbar
diff --git a/misc/ruby-progressbar/distinfo b/misc/ruby-progressbar/distinfo
new file mode 100644
index 00000000000..036850d6927
--- /dev/null
+++ b/misc/ruby-progressbar/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/01 07:17:23 obache Exp $
+
+SHA1 (ruby-progressbar-0.9.tar.gz) = 232e04f360e9729c666b98196069db374fa0d930
+RMD160 (ruby-progressbar-0.9.tar.gz) = a286de1b973a01520d59e7b7389bdbb3a122f47e
+Size (ruby-progressbar-0.9.tar.gz) = 5580 bytes