summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authortaca <taca>2004-11-27 16:20:25 +0000
committertaca <taca>2004-11-27 16:20:25 +0000
commitd5e7d2f1fd238eca8f823610f7c3d0e485fb32ff (patch)
treec71c0bb55498835c5e811bd840e0c5dadff4a35d /math
parentec9cb9f7982c67cb33a1f354c2b4057b78faacb8 (diff)
downloadpkgsrc-d5e7d2f1fd238eca8f823610f7c3d0e485fb32ff.tar.gz
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 (limited to 'math')
-rw-r--r--math/ruby-bigfloat/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/math/ruby-bigfloat/Makefile b/math/ruby-bigfloat/Makefile
index 5e728c5b808..650954997d5 100644
--- a/math/ruby-bigfloat/Makefile
+++ b/math/ruby-bigfloat/Makefile
@@ -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 @@ MAINTAINER= taca@NetBSD.org
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 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bigfloat
.endfor
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"