summaryrefslogtreecommitdiff
path: root/converters/ruby-uconv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/ruby-uconv/Makefile')
-rw-r--r--converters/ruby-uconv/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/converters/ruby-uconv/Makefile b/converters/ruby-uconv/Makefile
index 4397cad57f9..ba8ff2c8655 100644
--- a/converters/ruby-uconv/Makefile
+++ b/converters/ruby-uconv/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2006/01/03 15:07:28 taca Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/19 14:42:43 taca Exp $
DISTNAME= uconv-0.4.12
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= converters japanese ruby
MASTER_SITES= http://www.yoshidam.net/
@@ -14,12 +14,15 @@ RUBY_HAS_ARCHLIB= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/uconv
+INSTALLATION_DIRS= ${RUBY_DOC}/uconv
INSTALL_TARGET= site-install
+DOCS= README README.ja
+
post-install:
- ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/uconv
- ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/uconv
- ${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_DOCDIR}/uconv
+.for f in ${DOCS}
+ cd ${WRKSRC}; ${INSTALL_DATA} ${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/uconv
+.endfor
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"