svn commit: r349458 - head/math/ruby-fftw3
Steve Wills
swills at FreeBSD.org
Fri Mar 28 20:22:32 UTC 2014
Author: swills
Date: Fri Mar 28 20:22:31 2014
New Revision: 349458
URL: http://svnweb.freebsd.org/changeset/ports/349458
QAT: https://qat.redports.org/buildarchive/r349458/
Log:
- 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 at gfd-dennou.org> [1]
Modified:
head/math/ruby-fftw3/Makefile
head/math/ruby-fftw3/pkg-descr
Modified: head/math/ruby-fftw3/Makefile
==============================================================================
--- head/math/ruby-fftw3/Makefile Fri Mar 28 20:00:52 2014 (r349457)
+++ head/math/ruby-fftw3/Makefile Fri Mar 28 20:22:31 2014 (r349458)
@@ -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 ve
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:
Modified: head/math/ruby-fftw3/pkg-descr
==============================================================================
--- head/math/ruby-fftw3/pkg-descr Fri Mar 28 20:00:52 2014 (r349457)
+++ head/math/ruby-fftw3/pkg-descr Fri Mar 28 20:22:31 2014 (r349458)
@@ -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/
More information about the svn-ports-all
mailing list