blob: 55ecbda0d7804b46d948e20a895e22954e19b286 (
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
|
# $NetBSD: Makefile,v 1.16 2015/06/04 13:56:25 taca Exp $
DISTNAME= ruby-romkan-0.4
PKGNAME= ${RUBY_PKGPREFIX}-romkan-0.4
PKGREVISION= 3
CATEGORIES= converters japanese ruby
MASTER_SITES= http://0xcc.net/ruby-romkan/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://0xcc.net/ruby-romkan/
COMMENT= Romaji <-> Kana conversion library for Ruby
LICENSE= ruby-license
NO_CONFIGURE= yes
DOCS= romkan.html romkan.html.ja romkan.en.rd romkan.ja.rd
INSTALLATION_DIRS= ${RUBY_DOC}/romkan ${RUBY_VENDORLIB}
do-build:
cd ${WRKSRC}; ${RUBY_RD} romkan.en.rd > romkan.html
cd ${WRKSRC}; ${RUBY_RD} romkan.ja.rd > romkan.html.ja
do-install:
${INSTALL_DATA} ${WRKSRC}/romkan.rb ${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}
.for f in ${DOCS}
cd ${WRKSRC}; ${INSTALL_DATA} ${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/romkan
.endfor
.include "../../lang/ruby/modules.mk"
.include "../../textproc/ruby-rdtool/rdtool.mk"
.include "../../mk/bsd.pkg.mk"
|