blob: 8110ab98a1a84f3939c0b96ea9cff55760452e1e (
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
32
33
34
35
|
# $NetBSD: Makefile,v 1.4 2010/05/16 12:19:11 obache 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
PKG_DESTDIR_SUPPORT= user-destdir
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"
|