1 | # $Id: Portfile,v 1.11 2004/05/18 03:05:58 blb Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name fftw |
---|
5 | version 3.0.1 |
---|
6 | categories math devel |
---|
7 | maintainers blb@pobox.com |
---|
8 | description Fast C routines to compute the Discrete Fourier Transform |
---|
9 | long_description \ |
---|
10 | FFTW is a C subroutine library for computing the Discrete Fourier \ |
---|
11 | Transform (DFT) in one or more dimensions, of both real and complex \ |
---|
12 | data, and of arbitrary input size. We believe that FFTW, which is \ |
---|
13 | free software, should become the FFT library of choice for most \ |
---|
14 | applications. Our benchmarks, performed on a variety of platforms, \ |
---|
15 | show that FFTW's performance is typically superior to that of other \ |
---|
16 | publicly available FFT software. Moreover, FFTW's performance is \ |
---|
17 | portable: the program will perform well on most architectures \ |
---|
18 | without modification. |
---|
19 | |
---|
20 | platforms darwin |
---|
21 | |
---|
22 | homepage http://www.fftw.org/ |
---|
23 | master_sites ${homepage} \ |
---|
24 | ftp://ftp.fftw.org/pub/fftw/ \ |
---|
25 | ftp://ftp.kusastro.kyoto-u.ac.jp/pub/src/GNU/fftw/ |
---|
26 | |
---|
27 | checksums md5 76cd21ecc9a7bed6343566c473c36477 |
---|
28 | configure.args --enable-type-prefix --enable-threads \ |
---|
29 | --disable-fortran --infodir=${prefix}/share/info |
---|
30 | |
---|
31 | variant fortran { |
---|
32 | depends_lib-append port:gcc40 |
---|
33 | configure.args-delete --disable-fortran |
---|
34 | configure.args-append --enable-fortran=gfortran-dp-4.0 |
---|
35 | } |
---|
36 | |
---|
37 | variant powerpc { |
---|
38 | distname ${distname}-fma |
---|
39 | checksums md5 fe6d96580eaeda1035ecab54507b4092 |
---|
40 | configure.args-append --enable-fma |
---|
41 | } |
---|
42 | |
---|
43 | variant altivec { |
---|
44 | configure.args-append --enable-altivec --enable-float |
---|
45 | } |
---|