aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorxmj <xmj@FreeBSD.org>2015-01-29 17:03:53 +0800
committerxmj <xmj@FreeBSD.org>2015-01-29 17:03:53 +0800
commit785bbefd3f45dcf39f42f8a4c50b4990b1326818 (patch)
tree02d0ec710f608912d3cd04691e33072617cd07d8 /math
parenta90fa4b62c4b38db83086b72bb4789968f6061eb (diff)
downloadfreebsd-ports-gnome-785bbefd3f45dcf39f42f8a4c50b4990b1326818.tar.gz
freebsd-ports-gnome-785bbefd3f45dcf39f42f8a4c50b4990b1326818.tar.zst
freebsd-ports-gnome-785bbefd3f45dcf39f42f8a4c50b4990b1326818.zip
math/rubygem-rb-gsl: Add port.
Ruby/GSL is a Ruby extension library for GSL (GNU Scientific Library), which provides a number of functions and methods for numerical computing in Ruby. WWW: https://rubygems.org/gems/rb-gsl PR: 196994 Submitted by: Shin-ya MURAKAMI <murashin@gfd-dennou.org> Approved by: mentor (implicit)
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/rubygem-rb-gsl/Makefile21
-rw-r--r--math/rubygem-rb-gsl/distinfo2
-rw-r--r--math/rubygem-rb-gsl/pkg-descr8
4 files changed, 32 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index debb47f0be1b..60787b1c26b0 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -608,6 +608,7 @@
SUBDIR += rubygem-narray_miss
SUBDIR += rubygem-numru-misc
SUBDIR += rubygem-numru-units
+ SUBDIR += rubygem-rb-gsl
SUBDIR += saga
SUBDIR += sage
SUBDIR += sc
diff --git a/math/rubygem-rb-gsl/Makefile b/math/rubygem-rb-gsl/Makefile
new file mode 100644
index 000000000000..200a7146f23b
--- /dev/null
+++ b/math/rubygem-rb-gsl/Makefile
@@ -0,0 +1,21 @@
+# Created by: Shin-ya MURAKAMI <murashin@gfd-dennou.org>
+# $FreeBSD$
+
+PORTNAME= rb-gsl
+PORTVERSION= 1.16.0.4
+CATEGORIES= math rubygems
+MASTER_SITES= RG
+
+MAINTAINER= murashin@gfd-dennou.org
+COMMENT= Ruby extension library for GSL (GNU Scientific Library)
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
+RUN_DEPENDS= rubygem-narray>=0.5.9:${PORTSDIR}/math/rubygem-narray
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/math/rubygem-rb-gsl/distinfo b/math/rubygem-rb-gsl/distinfo
new file mode 100644
index 000000000000..764e3ffb74c9
--- /dev/null
+++ b/math/rubygem-rb-gsl/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rb-gsl-1.16.0.4.gem) = bc6573cc36410d2ec88672d4b12e2c908684796b276a8743c19345bbb44bef94
+SIZE (rubygem/rb-gsl-1.16.0.4.gem) = 588288
diff --git a/math/rubygem-rb-gsl/pkg-descr b/math/rubygem-rb-gsl/pkg-descr
new file mode 100644
index 000000000000..1e3984128a68
--- /dev/null
+++ b/math/rubygem-rb-gsl/pkg-descr
@@ -0,0 +1,8 @@
+Ruby/GSL is a Ruby extension library for GSL (GNU Scientific Library),
+which provides a number of functions and methods for numerical
+computing in Ruby.
+
+Author: Yoshiki Tsunesada <yoshiki@cr.phys.titech.ac.jp>,
+ David MacMahon,
+ Jens Wille
+WWW: https://rubygems.org/gems/rb-gsl