2019-11-03 18:14:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2019/11/03 17:14:26 rillig Exp $
|
2002-05-31 15:00:12 +02:00
|
|
|
|
|
|
|
DISTNAME= ruby-romkan-0.4
|
2004-11-27 16:36:43 +01:00
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-romkan-0.4
|
2010-09-10 06:04:07 +02:00
|
|
|
PKGREVISION= 3
|
2004-03-16 03:01:09 +01:00
|
|
|
CATEGORIES= converters japanese ruby
|
2006-10-04 22:46:42 +02:00
|
|
|
MASTER_SITES= http://0xcc.net/ruby-romkan/
|
2002-05-31 15:00:12 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-04 22:46:42 +02:00
|
|
|
HOMEPAGE= http://0xcc.net/ruby-romkan/
|
2002-05-31 15:00:12 +02:00
|
|
|
COMMENT= Romaji <-> Kana conversion library for Ruby
|
2010-09-10 06:04:07 +02:00
|
|
|
LICENSE= ruby-license
|
2002-05-31 15:00:12 +02:00
|
|
|
|
2019-11-03 18:14:24 +01:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
DOCS= romkan.html romkan.html.ja romkan.en.rd romkan.ja.rd
|
2008-06-21 12:12:59 +02:00
|
|
|
INSTALLATION_DIRS= ${RUBY_DOC}/romkan ${RUBY_VENDORLIB}
|
2002-05-31 15:00:12 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; ${RUBY_RD} romkan.en.rd > romkan.html
|
|
|
|
cd ${WRKSRC}; ${RUBY_RD} romkan.ja.rd > romkan.html.ja
|
|
|
|
|
|
|
|
do-install:
|
2008-06-19 16:42:24 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/romkan.rb ${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/romkan
|
|
|
|
.endfor
|
2002-05-31 15:00:12 +02:00
|
|
|
|
2004-11-27 16:36:43 +01:00
|
|
|
.include "../../lang/ruby/modules.mk"
|
2015-06-04 15:56:25 +02:00
|
|
|
.include "../../textproc/ruby-rdtool/rdtool.mk"
|
2002-05-31 15:00:12 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|