Bug 188012 - [maintainer] math/ruby-fftw3: change dependency.
Summary: [maintainer] math/ruby-fftw3: change dependency.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 09:10 UTC by murashin
Modified: 2014-03-28 20:30 UTC (History)
0 users

See Also:


Attachments
ruby-fftw3.diff (807 bytes, patch)
2014-03-27 09:10 UTC, murashin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description murashin 2014-03-27 09:10:00 UTC
	- change dependency.

How-To-Repeat: 	N/A
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-27 09:10:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-28 20:22:34 UTC
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@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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Steve Wills freebsd_committer freebsd_triage 2014-03-28 20:22:49 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!