aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-09-14 22:47:11 +0800
committerswills <swills@FreeBSD.org>2014-09-14 22:47:11 +0800
commitc61cb7ff5b9ef067720091aa9d0486f5cf14c22c (patch)
treedf26d9a7322113369504b6a81e96da7dd1a07c63 /math
parent0d33d5de263078ff3a4275b2b7d6ebda08c53798 (diff)
downloadfreebsd-ports-gnome-c61cb7ff5b9ef067720091aa9d0486f5cf14c22c.tar.gz
freebsd-ports-gnome-c61cb7ff5b9ef067720091aa9d0486f5cf14c22c.tar.zst
freebsd-ports-gnome-c61cb7ff5b9ef067720091aa9d0486f5cf14c22c.zip
math/rubygem-fftw3: add port for gem version of fftw3
Ruby bindins for Fast Fourier Transforms by using FFTW Ver.3. WWW: http://ruby.gfd-dennou.org/products/ruby-fftw3/ PR: 193454 Submitted by: Shin-ya MURAKAMI <murashin@gfd-dennou.org>
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/rubygem-fftw3/Makefile20
-rw-r--r--math/rubygem-fftw3/distinfo2
-rw-r--r--math/rubygem-fftw3/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index abee70f3639a..3b3d8efc0b8c 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -602,6 +602,7 @@
SUBDIR += ruby-narray_miss
SUBDIR += ruby-numru_misc
SUBDIR += ruby-numru_units
+ SUBDIR += rubygem-fftw3
SUBDIR += rubygem-narray
SUBDIR += rubygem-narray_miss
SUBDIR += rubygem-numru-misc
diff --git a/math/rubygem-fftw3/Makefile b/math/rubygem-fftw3/Makefile
new file mode 100644
index 000000000000..0e2cf7a89779
--- /dev/null
+++ b/math/rubygem-fftw3/Makefile
@@ -0,0 +1,20 @@
+# Created by: Shin-ya MURAKAMI <murashin@gfd-dennou.org>
+# $FreeBSD$
+
+PORTNAME= fftw3
+PORTVERSION= 0.3
+CATEGORIES= math rubygems
+MASTER_SITES= RG
+
+MAINTAINER= murashin@gfd-dennou.org
+COMMENT= Ruby interface to the FFTW ver.3
+
+RUN_DEPENDS= rubygem-narray>0:${PORTSDIR}/math/rubygem-narray
+LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
+
+USE_RUBY= yes
+USE_RAKE= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/math/rubygem-fftw3/distinfo b/math/rubygem-fftw3/distinfo
new file mode 100644
index 000000000000..12eda2a7f08b
--- /dev/null
+++ b/math/rubygem-fftw3/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/fftw3-0.3.gem) = 3059285f3939d2301f533b06b608c56feb1b8b7092b48ff379220ff5c1fa989b
+SIZE (rubygem/fftw3-0.3.gem) = 8192
diff --git a/math/rubygem-fftw3/pkg-descr b/math/rubygem-fftw3/pkg-descr
new file mode 100644
index 000000000000..6d972757c602
--- /dev/null
+++ b/math/rubygem-fftw3/pkg-descr
@@ -0,0 +1,3 @@
+Ruby bindins for Fast Fourier Transforms by using FFTW Ver.3.
+
+WWW: http://ruby.gfd-dennou.org/products/ruby-fftw3/