pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/ruby-iconv Make ruby-iconv package to ruby ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c61dc1d635a
branches:  trunk
changeset: 484417:0c61dc1d635a
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 14:21:14 2004 +0000

description:
Make ruby-iconv package to ruby 1.8.1 based package.  Previous
ruby-iconv-0.5 package will be provided as ruby16-iconv package.

diffstat:

 converters/ruby-iconv/DESCR    |   8 ++------
 converters/ruby-iconv/Makefile |  36 +++++++++++++-----------------------
 converters/ruby-iconv/PLIST    |   5 +----
 converters/ruby-iconv/distinfo |   4 ----
 4 files changed, 16 insertions(+), 37 deletions(-)

diffs (80 lines):

diff -r 9b9f480236e2 -r 0c61dc1d635a converters/ruby-iconv/DESCR
--- a/converters/ruby-iconv/DESCR       Sat Nov 27 14:21:13 2004 +0000
+++ b/converters/ruby-iconv/DESCR       Sat Nov 27 14:21:14 2004 +0000
@@ -1,6 +1,2 @@
-This is an iconv wrapper class for Ruby.
-
-Note that this version is still experimental.  Report any problems to
-the author.
-
-Author:        Nobuyoshi.Nakada <nobu.nokada%softhome.net@localhost>
+This is an iconv wrapper class for Ruby, which is actually a part of
+the Ruby distribution version 1.8 and later.
diff -r 9b9f480236e2 -r 0c61dc1d635a converters/ruby-iconv/Makefile
--- a/converters/ruby-iconv/Makefile    Sat Nov 27 14:21:13 2004 +0000
+++ b/converters/ruby-iconv/Makefile    Sat Nov 27 14:21:14 2004 +0000
@@ -1,33 +1,23 @@
-# $NetBSD: Makefile,v 1.11 2004/11/13 21:28:27 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2004/11/27 14:21:14 taca Exp $
 #
 
-DISTNAME=      iconv-0.5
-PKGNAME=       ${RUBY_PKGNAMEPREFIX}${DISTNAME}
-PKGREVISION=   1
+DISTNAME=      ${RUBY_DISTNAME}
+PKGNAME=       ${RUBY_PKGPREFIX}-iconv-${RUBY_VERSION}
 CATEGORIES=    converters ruby
-MASTER_SITES=  http://nokada.jin.gr.jp/ruby/
+MASTER_SITES=  ${MASTER_SITE_RUBY}
 
 MAINTAINER=    taca%NetBSD.org@localhost
-HOMEPAGE=      # not available
+HOMEPAGE=      ${RUBY_HOMEPAGE}
 COMMENT=       Iconv wrapper class for Ruby
 
-USE_BUILDLINK3= yes
-
-DIST_SUBDIR=   ruby
-USE_RUBY_EXTCONF= yes
-USE_RUBY_RD=   yes
-
-INSTALL_TARGET= site-install
-
-DOCS=          iconv.html rd.css
+RUBY_VERSION_SUPPORTED=        18
+USE_BUILDLINK3=                yes
+USE_RUBY_EXTCONF=      yes
+DISTINFO_FILE=         ${RUBY_DISTINFO_FILE}
+WRKSRC=                ${RUBY_WRKSRC}/ext/iconv
+EXTRACT_ELEMENTS=      ${RUBY_DISTNAME}/ext/iconv
 
-post-install:
-       ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/iconv
-.for f in ${DOCS}
-       ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/iconv
-.endfor
-
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
 .include "../../converters/libiconv/buildlink3.mk"
-.include "../../lang/ruby-base/Makefile.common"
-.include "../../lang/ruby-base/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9b9f480236e2 -r 0c61dc1d635a converters/ruby-iconv/PLIST
--- a/converters/ruby-iconv/PLIST       Sat Nov 27 14:21:13 2004 +0000
+++ b/converters/ruby-iconv/PLIST       Sat Nov 27 14:21:14 2004 +0000
@@ -1,5 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:51:08 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 14:21:14 taca Exp $
 ${RUBY_SITEARCHLIBDIR}/iconv.so
-${RUBY_DOCDIR}/iconv/iconv.html
-${RUBY_DOCDIR}/iconv/rd.css
-@dirrm ${RUBY_DOCDIR}/iconv
diff -r 9b9f480236e2 -r 0c61dc1d635a converters/ruby-iconv/distinfo
--- a/converters/ruby-iconv/distinfo    Sat Nov 27 14:21:13 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-$NetBSD: distinfo,v 1.2 2003/10/05 08:58:10 taca Exp $
-
-SHA1 (ruby/iconv-0.5.tar.gz) = 5c71177c7997342af1354ddf272c713c08661e3f
-Size (ruby/iconv-0.5.tar.gz) = 12089 bytes



Home | Main Index | Thread Index | Old Index