summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
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"