aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-26 23:07:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-26 23:07:23 +0000
commitdb351d876738d2bc5ac4434ced9e5f1a6fc2a2bc (patch)
tree9db85b9fb08724ef2b86f5d85c64335367c9d627 /math
parent481c2bbb9ddc87f9d3ad95dca9af35bea7a4470f (diff)
downloadports-db351d876738d2bc5ac4434ced9e5f1a6fc2a2bc.tar.gz
ports-db351d876738d2bc5ac4434ced9e5f1a6fc2a2bc.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-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
5 files changed, 49 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index fd2b9cddc83c..9778bda57e42 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -184,6 +184,7 @@
SUBDIR += ruby-algebra
SUBDIR += ruby-bitset
SUBDIR += ruby-bitvector
+ SUBDIR += ruby-fftw3
SUBDIR += ruby-gmp
SUBDIR += ruby-gnuplot
SUBDIR += ruby-gsl
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%%