diff --git a/misc/ruby-progressbar/Makefile b/misc/ruby-progressbar/Makefile index 8e78f8c3d85af..78ee0d3a0821c 100644 --- a/misc/ruby-progressbar/Makefile +++ b/misc/ruby-progressbar/Makefile @@ -1,35 +1,13 @@ -# $NetBSD: Makefile,v 1.9 2015/11/23 15:46:59 taca Exp $ -# +# $NetBSD: Makefile,v 1.10 2016/01/20 22:57:38 wiz Exp $ -DISTNAME= ruby-progressbar-0.9 +DISTNAME= ruby-progressbar-1.7.5 PKGNAME= ${DISTNAME:S/ruby-/${RUBY_PKGPREFIX}-/} -PKGREVISION= 1 CATEGORIES= misc ruby -MASTER_SITES= http://0xcc.net/ruby-progressbar/ MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://0xcc.net/ruby-progressbar/ +HOMEPAGE= https://github.com/jfelchner/ruby-progressbar COMMENT= Text Progress Bar Library for Ruby -LICENSE= ruby-license +LICENSE= mit -RUBY_VERSION_SUPPORTED= 200 18 21 22 - -USE_LANGUAGES= # none - -NO_BUILD= yes - -INSTALLATION_DIRS= ${RUBY_DOC}/progressbar ${RUBY_VENDORLIB} - -do-test: - ${RUN} cd ${WRKSRC}; ${RUBY} test.rb - -do-install: - ${INSTALL_DATA} ${WRKSRC}/progressbar.rb \ - ${DESTDIR}${PREFIX}/${RUBY_VENDORLIB} -.for d in progressbar.en.rd progressbar.ja.rd - ${INSTALL_DATA} ${WRKSRC}/${d} \ - ${DESTDIR}${PREFIX}/${RUBY_DOC}/progressbar -.endfor - -.include "../../lang/ruby/modules.mk" +.include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/misc/ruby-progressbar/PLIST b/misc/ruby-progressbar/PLIST index c5cfee4bdc937..f771373f7c2f6 100644 --- a/misc/ruby-progressbar/PLIST +++ b/misc/ruby-progressbar/PLIST @@ -1,4 +1,50 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:07:30 joerg Exp $ -${RUBY_VENDORLIB}/progressbar.rb -${RUBY_DOC}/progressbar/progressbar.en.rd -${RUBY_DOC}/progressbar/progressbar.ja.rd +@comment $NetBSD: PLIST,v 1.4 2016/01/20 22:57:38 wiz Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README.md +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/lib/ruby-progressbar.rb +${GEM_LIBDIR}/lib/ruby-progressbar/base.rb +${GEM_LIBDIR}/lib/ruby-progressbar/calculators/length.rb +${GEM_LIBDIR}/lib/ruby-progressbar/calculators/length_spec.rb +${GEM_LIBDIR}/lib/ruby-progressbar/calculators/running_average.rb +${GEM_LIBDIR}/lib/ruby-progressbar/components.rb +${GEM_LIBDIR}/lib/ruby-progressbar/components/bar.rb +${GEM_LIBDIR}/lib/ruby-progressbar/components/percentage.rb +${GEM_LIBDIR}/lib/ruby-progressbar/components/rate.rb +${GEM_LIBDIR}/lib/ruby-progressbar/components/time.rb +${GEM_LIBDIR}/lib/ruby-progressbar/components/title.rb +${GEM_LIBDIR}/lib/ruby-progressbar/errors/invalid_progress_error.rb +${GEM_LIBDIR}/lib/ruby-progressbar/format.rb +${GEM_LIBDIR}/lib/ruby-progressbar/format/formatter.rb +${GEM_LIBDIR}/lib/ruby-progressbar/format/molecule.rb +${GEM_LIBDIR}/lib/ruby-progressbar/format/string.rb +${GEM_LIBDIR}/lib/ruby-progressbar/output.rb +${GEM_LIBDIR}/lib/ruby-progressbar/outputs/non_tty.rb +${GEM_LIBDIR}/lib/ruby-progressbar/outputs/tty.rb +${GEM_LIBDIR}/lib/ruby-progressbar/progress.rb +${GEM_LIBDIR}/lib/ruby-progressbar/throttle.rb +${GEM_LIBDIR}/lib/ruby-progressbar/time.rb +${GEM_LIBDIR}/lib/ruby-progressbar/timer.rb +${GEM_LIBDIR}/lib/ruby-progressbar/version.rb +${GEM_LIBDIR}/spec/fixtures/benchmark.rb +${GEM_LIBDIR}/spec/ruby-progressbar/base_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/calculators/running_average_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/components/bar_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/components/percentage_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/components/rate_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/components/throttle_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/components/time_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/components/title_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/format/formatter_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/format/molecule_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/format/string_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/output_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/outputs/non_tty_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/outputs/tty_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/progress_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/time_spec.rb +${GEM_LIBDIR}/spec/ruby-progressbar/timer_spec.rb +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_LIBDIR}/spec/support/time.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/misc/ruby-progressbar/distinfo b/misc/ruby-progressbar/distinfo index 422b74d966dc7..1dc29995eca35 100644 --- a/misc/ruby-progressbar/distinfo +++ b/misc/ruby-progressbar/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2015/11/03 23:49:50 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/01/20 22:57:38 wiz Exp $ -SHA1 (ruby-progressbar-0.9.tar.gz) = 232e04f360e9729c666b98196069db374fa0d930 -RMD160 (ruby-progressbar-0.9.tar.gz) = a286de1b973a01520d59e7b7389bdbb3a122f47e -SHA512 (ruby-progressbar-0.9.tar.gz) = aa10cb849c16a26b26a434f8c9ce27014d9776be61aec160ceeb1f09129e329e5c945ce56cebc6dc66410a4c5f74dbe0f0098b4d8c3afa1d88960f784d4e9dab -Size (ruby-progressbar-0.9.tar.gz) = 5580 bytes +SHA1 (ruby-progressbar-1.7.5.gem) = 0d1f59d15e812fa2ff8e233d7148af4f271f8fb9 +RMD160 (ruby-progressbar-1.7.5.gem) = 2d5b3a25b25411405044bf7e9ddbf0339e44e8aa +SHA512 (ruby-progressbar-1.7.5.gem) = 1a5cb4b8ca9a9669bdaa60fcf3f01bec347b4ac1aefe737a7c6014bf40166c72d74ab0f489638c12ffd5245cc2b0a19186f7ab440bd7629579bf00d5155a8741 +Size (ruby-progressbar-1.7.5.gem) = 21504 bytes