aboutsummaryrefslogtreecommitdiff
path: root/math/ruby-bigfloat
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-07 06:09:19 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-07 06:09:19 +0000
commitcba1dd73198be0721c05d6097d87a3879a63848e (patch)
tree6fc5835ecbd36939d8b23ccb55cdb120a17323a6 /math/ruby-bigfloat
parentda66b56b430b154478db5f6fcd47636c0758ba8a (diff)
downloadports-cba1dd73198be0721c05d6097d87a3879a63848e.tar.gz
ports-cba1dd73198be0721c05d6097d87a3879a63848e.zip
Notes
Diffstat (limited to 'math/ruby-bigfloat')
-rw-r--r--math/ruby-bigfloat/Makefile36
-rw-r--r--math/ruby-bigfloat/distinfo1
-rw-r--r--math/ruby-bigfloat/pkg-comment1
-rw-r--r--math/ruby-bigfloat/pkg-descr4
-rw-r--r--math/ruby-bigfloat/pkg-plist6
5 files changed, 48 insertions, 0 deletions
diff --git a/math/ruby-bigfloat/Makefile b/math/ruby-bigfloat/Makefile
new file mode 100644
index 000000000000..aab0c9307217
--- /dev/null
+++ b/math/ruby-bigfloat/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: Ruby-BigFloat
+# Date created: 7 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bigfloat
+PORTVERSION= 1.1.3
+CATEGORIES= math # ruby
+MASTER_SITES= http://www.tinyforest.gr.jp/ruby/
+PKGNAMEPREFIX= ruby-
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+
+NO_WRKSUBDIR= yes
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY= ${LOCALBASE}/bin/ruby
+RUBY_VER= 1.4
+RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ruby/bigfloat/ja
+ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/bigfloat_en.html ${PREFIX}/share/doc/ruby/bigfloat
+ ${INSTALL_DATA} ${WRKSRC}/bigfloat.html ${PREFIX}/share/doc/ruby/bigfloat/ja
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/ruby-bigfloat/distinfo b/math/ruby-bigfloat/distinfo
new file mode 100644
index 000000000000..46a19362c612
--- /dev/null
+++ b/math/ruby-bigfloat/distinfo
@@ -0,0 +1 @@
+MD5 (bigfloat-1.1.3.tar.gz) = 7049e4ba02d609893c65475cd1405cea
diff --git a/math/ruby-bigfloat/pkg-comment b/math/ruby-bigfloat/pkg-comment
new file mode 100644
index 000000000000..bfc402f766e7
--- /dev/null
+++ b/math/ruby-bigfloat/pkg-comment
@@ -0,0 +1 @@
+Variable precision floating library for Ruby
diff --git a/math/ruby-bigfloat/pkg-descr b/math/ruby-bigfloat/pkg-descr
new file mode 100644
index 000000000000..8627861ce7a0
--- /dev/null
+++ b/math/ruby-bigfloat/pkg-descr
@@ -0,0 +1,4 @@
+BigFloat is an extension library for Ruby. Using BigFloat class, you
+can obtain any number of significant digits in computation.
+
+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 000000000000..b637ee6a6319
--- /dev/null
+++ b/math/ruby-bigfloat/pkg-plist
@@ -0,0 +1,6 @@
+lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/BigFloat.so
+share/doc/ruby/bigfloat/ja/bigfloat.html
+share/doc/ruby/bigfloat/README
+share/doc/ruby/bigfloat/bigfloat_en.html
+@dirrm share/doc/ruby/bigfloat/ja
+@dirrm share/doc/ruby/bigfloat