aboutsummaryrefslogtreecommitdiff
path: root/math/ruby-fftw3
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-03-28 20:22:31 +0000
committerSteve Wills <swills@FreeBSD.org>2014-03-28 20:22:31 +0000
commitbeb236c9339cac81ea379414cb7a3d9cb02950ba (patch)
tree266c3f44dfa3b29b0f86df858f11104506040e46 /math/ruby-fftw3
parentc73a4e6ed3250d4b10afd74e35ccf7a5ef178114 (diff)
downloadports-beb236c9339cac81ea379414cb7a3d9cb02950ba.tar.gz
ports-beb236c9339cac81ea379414cb7a3d9cb02950ba.zip
Notes
Diffstat (limited to 'math/ruby-fftw3')
-rw-r--r--math/ruby-fftw3/Makefile11
-rw-r--r--math/ruby-fftw3/pkg-descr5
2 files changed, 10 insertions, 6 deletions
diff --git a/math/ruby-fftw3/Makefile b/math/ruby-fftw3/Makefile
index 17c0df944520..21bacab63f69 100644
--- a/math/ruby-fftw3/Makefile
+++ b/math/ruby-fftw3/Makefile
@@ -3,7 +3,7 @@
PORTNAME= fftw3
PORTVERSION= 0.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math ruby
MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-fftw3/release/ \
http://dennou-h.gfd-dennou.org/library/ruby/products/ruby-fftw3/release/ \
@@ -18,13 +18,18 @@ COMMENT= A Ruby interface to the FFTW ver.3
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3
-BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
+LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
+BUILD_DEPENDS= rubygem-narray>=0:${PORTSDIR}/math/rubygem-narray
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
+RUBY_NARRAY_VERSION!= ${MAKE} -C ${PORTSDIR}/math/rubygem-narray -V PORTVERSION
+RUBY_NARRAY_PKGNAME= narray-${RUBY_NARRAY_VERSION}
+
+CONFIGURE_ARGS+= --with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/${RUBY_NARRAY_PKGNAME}/
+
DOCS= LICENSE.txt doc/*
post-install:
diff --git a/math/ruby-fftw3/pkg-descr b/math/ruby-fftw3/pkg-descr
index ac291c9bb2cf..d0e599412f69 100644
--- a/math/ruby-fftw3/pkg-descr
+++ b/math/ruby-fftw3/pkg-descr
@@ -1,4 +1,3 @@
-Ruby bindins for Fast Fourier Transforms by using FFTW Ver.3.
+Ruby bindings for Fast Fourier Transforms by using FFTW Ver.3.
-Author: Takeshi Horinouchi <horinout _at_ ees.hokudai.ac.jp>
-WWW: http://ruby.gfd-dennou.org/products/ruby-fftw3/
+WWW: http://ruby.gfd-dennou.org/products/ruby-fftw3/