summaryrefslogtreecommitdiff
path: root/converters/ruby-romkan
diff options
context:
space:
mode:
authortaca <taca>2008-06-19 14:42:24 +0000
committertaca <taca>2008-06-19 14:42:24 +0000
commitb07d37097e898b320b5dd24c5fea1ced50185ffb (patch)
treeea4c9a0687aaa4b64f78762483789b99f97ca384 /converters/ruby-romkan
parent2949289e87c8ac3e14b330a01dc9ce0710c704a8 (diff)
downloadpkgsrc-b07d37097e898b320b5dd24c5fea1ced50185ffb.tar.gz
Switch to use vendor_dir with Ruby 1.8.7.
Bump PKGREVISION.
Diffstat (limited to 'converters/ruby-romkan')
-rw-r--r--converters/ruby-romkan/Makefile17
-rw-r--r--converters/ruby-romkan/PLIST14
2 files changed, 15 insertions, 16 deletions
diff --git a/converters/ruby-romkan/Makefile b/converters/ruby-romkan/Makefile
index 26f5581571e..966f08cfa36 100644
--- a/converters/ruby-romkan/Makefile
+++ b/converters/ruby-romkan/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2008/03/03 05:51:08 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/19 14:42:24 taca Exp $
DISTNAME= ruby-romkan-0.4
PKGNAME= ${RUBY_PKGPREFIX}-romkan-0.4
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= converters japanese ruby
MASTER_SITES= http://0xcc.net/ruby-romkan/
@@ -13,19 +13,18 @@ COMMENT= Romaji <-> Kana conversion library for Ruby
PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
+DOCS= romkan.html romkan.html.ja romkan.en.rd romkan.ja.rd
+INSTALLATION_DIRS= ${RUBY_DOC}/romkan
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_DIR} ${DESTDIR}${RUBY_SITELIBDIR}
- ${INSTALL_DATA} ${WRKSRC}/romkan.rb ${DESTDIR}${RUBY_SITELIBDIR}
- ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/romkan
- ${INSTALL_DATA} ${WRKSRC}/romkan.html ${DESTDIR}${RUBY_DOCDIR}/romkan
- ${INSTALL_DATA} ${WRKSRC}/romkan.html.ja ${DESTDIR}${RUBY_DOCDIR}/romkan
- ${INSTALL_DATA} ${WRKSRC}/romkan.en.rd ${DESTDIR}${RUBY_DOCDIR}/romkan/romkan.rd
- ${INSTALL_DATA} ${WRKSRC}/romkan.ja.rd ${DESTDIR}${RUBY_DOCDIR}/romkan
+ ${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/buildlink3.mk"
diff --git a/converters/ruby-romkan/PLIST b/converters/ruby-romkan/PLIST
index 7534ca7c561..f039f698839 100644
--- a/converters/ruby-romkan/PLIST
+++ b/converters/ruby-romkan/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:00:12 seb Exp $
-${RUBY_SITELIBDIR}/romkan.rb
-${RUBY_DOCDIR}/romkan/romkan.html
-${RUBY_DOCDIR}/romkan/romkan.html.ja
-${RUBY_DOCDIR}/romkan/romkan.ja.rd
-${RUBY_DOCDIR}/romkan/romkan.rd
-@dirrm ${RUBY_DOCDIR}/romkan
+@comment $NetBSD: PLIST,v 1.2 2008/06/19 14:42:24 taca Exp $
+${RUBY_VENDORLIB}/romkan.rb
+${RUBY_DOC}/romkan/romkan.html
+${RUBY_DOC}/romkan/romkan.html.ja
+${RUBY_DOC}/romkan/romkan.ja.rd
+${RUBY_DOC}/romkan/romkan.en.rd
+@dirrm ${RUBY_DOC}/romkan