diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/ruby-fftw3/Makefile | 11 | ||||
-rw-r--r-- | math/ruby-fftw3/pkg-descr | 5 |
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/ |