Add ruby-fftw3, Ruby bindins for fftw3 library.

PR:		ports/68310
Submitted by:	Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
This commit is contained in:
Pav Lucistnik 2004-06-26 23:07:23 +00:00
parent 481c2bbb9d
commit db351d8767
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112344
5 changed files with 49 additions and 0 deletions

View file

@ -184,6 +184,7 @@
SUBDIR += ruby-algebra
SUBDIR += ruby-bitset
SUBDIR += ruby-bitvector
SUBDIR += ruby-fftw3
SUBDIR += ruby-gmp
SUBDIR += ruby-gnuplot
SUBDIR += ruby-gsl

35
math/ruby-fftw3/Makefile Normal file
View file

@ -0,0 +1,35 @@
# New ports collection makefile for: Ruby-FFTW3
# Date created: 25 June 2004
# Whom: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= fftw3
PORTVERSION= 0.2
CATEGORIES= math ruby
MASTER_SITES= http://ruby.gfd-dennou.org/products/ruby-fftw3/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp
COMMENT= A Ruby interface to the FFTW ver.3
BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray
LIB_DEPENDS= fftw3.3:${PORTSDIR}/math/fftw3
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
DOCS= ChangeLog ToDo doc/*
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>

2
math/ruby-fftw3/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (ruby/ruby-fftw3-0.2.tar.gz) = b7de91c978ac549d9427e88c4695b733
SIZE (ruby/ruby-fftw3-0.2.tar.gz) = 5280

View file

@ -0,0 +1,4 @@
Ruby bindins for Fast Fourier Transforms by using FFTW Ver.3.
Author: Takeshi Horinouchi <horinout@kurasc.kyoto-u.ac.jp>
WWW: http://ruby.gfd-dennou.org/products/ruby-fftw3/

View file

@ -0,0 +1,7 @@
%%RUBY_SITEARCHLIBDIR%%/numru/fftw3.so
@unexec rmdir %B 2>/dev/null || true
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ToDo
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ruby-fftw3.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ruby-fftw3.rd
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%