summaryrefslogtreecommitdiffstats
path: root/math/ruby-bigfloat
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-07 06:09:19 +0000
committerknu <knu@FreeBSD.org>2000-08-07 06:09:19 +0000
commit21e0aafdec2b797115e389ed834185e0d8487df0 (patch)
treef036d217a2f4d96f94856b2f2301d44e2634ad62 /math/ruby-bigfloat
parent864d97a9d80edf3860202b9b6ced170de074a024 (diff)
downloadFreeBSD-ports-21e0aafdec2b797115e389ed834185e0d8487df0.zip
FreeBSD-ports-21e0aafdec2b797115e389ed834185e0d8487df0.tar.gz
Add Ruby related ports.
devel/ruby-property: Simple properties scheme for Ruby lang/ruby-python: Ruby extension library for embedding Python in Ruby math/ruby-bigfloat: Variable precision floating library for Ruby Whipped on by: ade :>
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 0000000..aab0c93
--- /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 0000000..46a1936
--- /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 0000000..bfc402f
--- /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 0000000..8627861
--- /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 0000000..b637ee6
--- /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
OpenPOWER on IntegriCloud