summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2001-07-01 13:06:57 +0000
committertaca <taca>2001-07-01 13:06:57 +0000
commit9eb468b8b06137aaf16f16499c8d3dc490a194f3 (patch)
tree4ed1e57e3d2b2d9b00a99432d8790710bab27d82
parentd9ec2490d588d5da5dd641d514440ef712fa9046 (diff)
downloadpkgsrc-9eb468b8b06137aaf16f16499c8d3dc490a194f3.tar.gz
Importing ruby-bigfloat.
BigFloat is an extension library for Ruby. Using BigFloat class, you can obtain any number of significant digits in computation.
-rw-r--r--math/ruby-bigfloat/Makefile28
-rw-r--r--math/ruby-bigfloat/distinfo4
-rw-r--r--math/ruby-bigfloat/pkg/DESCR5
-rw-r--r--math/ruby-bigfloat/pkg/PLIST4
4 files changed, 41 insertions, 0 deletions
diff --git a/math/ruby-bigfloat/Makefile b/math/ruby-bigfloat/Makefile
new file mode 100644
index 00000000000..2de1f604214
--- /dev/null
+++ b/math/ruby-bigfloat/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 13:06:57 taca Exp $
+# FreeBSD: ports/math/ruby-bigfloat/Makefile,v 1.8 2000/10/02 14:57:26 knu Exp
+
+DISTNAME= bigfloat-1.1.6
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= math
+MASTER_SITES= http://www.tinyforest.gr.jp/ruby/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.tinyforest.gr.jp/ruby/bigfloat_en.html
+COMMENT= Variable precision floating library for Ruby
+
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+
+NO_WRKSUBDIR= yes
+INSTALL_TARGET= site-install
+
+DOCS= README
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/bigfloat
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bigfloat
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/ruby-bigfloat/distinfo b/math/ruby-bigfloat/distinfo
new file mode 100644
index 00000000000..66e0f0d1712
--- /dev/null
+++ b/math/ruby-bigfloat/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 13:06:57 taca Exp $
+
+SHA1 (ruby/bigfloat-1.1.6.tar.gz) = d667021438361479a7fd771b536f6582899f61c4
+Size (ruby/bigfloat-1.1.6.tar.gz) = 34111 bytes
diff --git a/math/ruby-bigfloat/pkg/DESCR b/math/ruby-bigfloat/pkg/DESCR
new file mode 100644
index 00000000000..1bbe641a0f1
--- /dev/null
+++ b/math/ruby-bigfloat/pkg/DESCR
@@ -0,0 +1,5 @@
+BigFloat is an extension library for Ruby. Using BigFloat class, you
+can obtain any number of significant digits in computation.
+
+Author: Shigeo Kobayashi <shigeo@tinyforest.gr.jp>
+WWW: http://www.tinyforest.gr.jp/ruby/bigfloat_en.html
diff --git a/math/ruby-bigfloat/pkg/PLIST b/math/ruby-bigfloat/pkg/PLIST
new file mode 100644
index 00000000000..57bf29b7ff1
--- /dev/null
+++ b/math/ruby-bigfloat/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 13:06:57 taca Exp $
+${RUBY_SITEARCHLIBDIR}/BigFloat.so
+${RUBY_DOCDIR}/bigfloat/README
+@dirrm ${RUBY_DOCDIR}/bigfloat