summaryrefslogtreecommitdiff
path: root/converters/ruby-uconv
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2008-06-19 14:42:24 +0000
committertaca <taca@pkgsrc.org>2008-06-19 14:42:24 +0000
commitbc6a8075110b661aa4b98da4a7b144b1624f35bb (patch)
treeea4c9a0687aaa4b64f78762483789b99f97ca384 /converters/ruby-uconv
parent83a0216707a7699bfa1a7f69e2dc34b87c50317a (diff)
downloadpkgsrc-bc6a8075110b661aa4b98da4a7b144b1624f35bb.tar.gz
Switch to use vendor_dir with Ruby 1.8.7.
Bump PKGREVISION.
Diffstat (limited to 'converters/ruby-uconv')
-rw-r--r--converters/ruby-uconv/Makefile13
-rw-r--r--converters/ruby-uconv/PLIST10
2 files changed, 13 insertions, 10 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"
diff --git a/converters/ruby-uconv/PLIST b/converters/ruby-uconv/PLIST
index 1c8001171ea..cdf38f18841 100644
--- a/converters/ruby-uconv/PLIST
+++ b/converters/ruby-uconv/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2004/12/04 17:20:46 taca Exp $
-${RUBY_SITEARCHLIBDIR}/uconv.${RUBY_DLEXT}
-${RUBY_DOCDIR}/uconv/README
-${RUBY_DOCDIR}/uconv/README.ja
-@dirrm ${RUBY_DOCDIR}/uconv
+@comment $NetBSD: PLIST,v 1.4 2008/06/19 14:42:43 taca Exp $
+${RUBY_VENDORARCHLIB}/uconv.${RUBY_DLEXT}
+${RUBY_DOC}/uconv/README
+${RUBY_DOC}/uconv/README.ja
+@dirrm ${RUBY_DOC}/uconv