b5524ea599
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
30 lines
935 B
Makefile
30 lines
935 B
Makefile
# $NetBSD: Makefile,v 1.17 2019/11/03 17:14:26 rillig 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"
|