pkgsrc/misc/ruby-progressbar/Makefile

33 lines
815 B
Makefile

# $NetBSD: Makefile,v 1.5 2012/10/08 09:57:36 asau Exp $
#
DISTNAME= ruby-progressbar-0.9
PKGNAME= ${DISTNAME:S/ruby-/${RUBY_PKGPREFIX}-/}
PKGREVISION= 1
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
LICENSE= ruby-license
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 "../../mk/bsd.pkg.mk"