diff options
author | obache <obache@pkgsrc.org> | 2008-03-01 07:17:23 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-03-01 07:17:23 +0000 |
commit | e7f19a6836133dc3c81f4173821c646480fede3e (patch) | |
tree | d42aa19ecf599ae043e0928f971400916469520b /misc/ruby-progressbar/Makefile | |
parent | 50e3759012ca9e100de5e9750866cd0a532410fd (diff) | |
download | pkgsrc-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/Makefile')
-rw-r--r-- | misc/ruby-progressbar/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
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" |