aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-03-29 04:22:31 +0800
committerswills <swills@FreeBSD.org>2014-03-29 04:22:31 +0800
commit9cc13250570b77c3c174416aa6e7aba232c13045 (patch)
tree266c3f44dfa3b29b0f86df858f11104506040e46 /math
parent7574ba441bb62de23fae44813696f6c42e14d06d (diff)
downloadfreebsd-ports-gnome-9cc13250570b77c3c174416aa6e7aba232c13045.tar.gz
freebsd-ports-gnome-9cc13250570b77c3c174416aa6e7aba232c13045.tar.zst
freebsd-ports-gnome-9cc13250570b77c3c174416aa6e7aba232c13045.zip
- Use rubygem-narray for dependency instead of ruby-narray [1]
- Use new LIB_DEPENDS format - Cleanup pkg-descr PR: ports/188012 [1] Submitted by: Shin-ya Murakami <murashin@gfd-dennou.org> [1]
Diffstat (limited to 'math')
-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/