blob: 75cf44c29632ec2e014a5245f464c30cb547918b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"
|