aboutsummaryrefslogtreecommitdiff
path: root/math/ruby-fftw3
diff options
context:
space:
mode:
Diffstat (limited to 'math/ruby-fftw3')
-rw-r--r--math/ruby-fftw3/Makefile35
-rw-r--r--math/ruby-fftw3/distinfo2
-rw-r--r--math/ruby-fftw3/pkg-descr4
-rw-r--r--math/ruby-fftw3/pkg-plist7
4 files changed, 48 insertions, 0 deletions
diff --git a/math/ruby-fftw3/Makefile b/math/ruby-fftw3/Makefile
new file mode 100644
index 000000000000..baca1b6e269b
--- /dev/null
+++ b/math/ruby-fftw3/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: Ruby-FFTW3
+# Date created: 25 June 2004
+# Whom: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fftw3
+PORTVERSION= 0.2
+CATEGORIES= math ruby
+MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-fftw3/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp
+COMMENT= A Ruby interface to the FFTW ver.3
+
+BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
+LIB_DEPENDS= fftw3.3:${PORTSDIR}/math/fftw3
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+DOCS= ChangeLog ToDo doc/*
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/ruby-fftw3/distinfo b/math/ruby-fftw3/distinfo
new file mode 100644
index 000000000000..db957188e023
--- /dev/null
+++ b/math/ruby-fftw3/distinfo
@@ -0,0 +1,2 @@
+MD5 (ruby/ruby-fftw3-0.2.tar.gz) = b7de91c978ac549d9427e88c4695b733
+SIZE (ruby/ruby-fftw3-0.2.tar.gz) = 5280
diff --git a/math/ruby-fftw3/pkg-descr b/math/ruby-fftw3/pkg-descr
new file mode 100644
index 000000000000..98af2215ad29
--- /dev/null
+++ b/math/ruby-fftw3/pkg-descr
@@ -0,0 +1,4 @@
+Ruby bindins for Fast Fourier Transforms by using FFTW Ver.3.
+
+Author: Takeshi Horinouchi <horinout@kurasc.kyoto-u.ac.jp>
+WWW: http://ruby.gfd-dennou.org/products/ruby-fftw3/
diff --git a/math/ruby-fftw3/pkg-plist b/math/ruby-fftw3/pkg-plist
new file mode 100644
index 000000000000..113a717b6449
--- /dev/null
+++ b/math/ruby-fftw3/pkg-plist
@@ -0,0 +1,7 @@
+%%RUBY_SITEARCHLIBDIR%%/numru/fftw3.so
+@unexec rmdir %B 2>/dev/null || true
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ToDo
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ruby-fftw3.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ruby-fftw3.rd
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%