pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/ruby-bigfloat Update ruby-bigfloat package to 1.2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87c1af5a3933
branches:  trunk
changeset: 484477:87c1af5a3933
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 16:20:25 2004 +0000

description:
Update ruby-bigfloat package to 1.2.1 migrating to use new Ruby framework
and mark this only for ruby16.  ruby18 provide BigDecimal class as a
successor.

Changes are unknown.

diffstat:

 math/ruby-bigfloat/Makefile |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (42 lines):

diff -r 8ecb18a16d1a -r 87c1af5a3933 math/ruby-bigfloat/Makefile
--- a/math/ruby-bigfloat/Makefile       Sat Nov 27 16:14:54 2004 +0000
+++ b/math/ruby-bigfloat/Makefile       Sat Nov 27 16:20:25 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.8 2004/11/27 16:20:25 taca Exp $
 # FreeBSD: ports/math/ruby-bigfloat/Makefile,v 1.8 2000/10/02 14:57:26 knu Exp
 
-DISTNAME=      bigfloat-1.1.8
-PKGNAME=       ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+DISTNAME=      bigfloat-1.2.1
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    math ruby
 MASTER_SITES=  http://www.tinyforest.gr.jp/ruby/
 
@@ -10,13 +10,13 @@
 HOMEPAGE=      http://www.tinyforest.gr.jp/ruby/bigfloat_en.html
 COMMENT=       Variable precision floating library for Ruby
 
-DIST_SUBDIR=   ruby
-WRKSRC=                ${WRKDIR}
-USE_RUBY_EXTCONF= yes
+USE_RUBY_EXTCONF=      yes
+WRKSRC=                        ${WRKDIR}
+INSTALL_TARGET=                site-install
+DOCS=                  README
 
-INSTALL_TARGET=        site-install
-
-DOCS=          README
+# This extention library was replaced by BigDecimal in Ruby 1.8 later.
+RUBY_VERSION=          ${RUBY16_VERSION}
 
 post-install:
        ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/bigfloat
@@ -24,5 +24,5 @@
        ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bigfloat
 .endfor
 
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index