Ticket #3105: Portfile

File Portfile, 1.5 KB (added by yves@…, 20 years ago)

Portfile

Line 
1# $Id: Portfile,v 1.11 2004/05/18 03:05:58 blb Exp $
2
3PortSystem                      1.0
4name                            fftw
5version                         3.0.1
6categories                      math devel
7maintainers                     blb@pobox.com
8description                     Fast C routines to compute the Discrete Fourier Transform
9long_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
20platforms                       darwin
21
22homepage                        http://www.fftw.org/
23master_sites            ${homepage} \
24                                        ftp://ftp.fftw.org/pub/fftw/ \
25                                        ftp://ftp.kusastro.kyoto-u.ac.jp/pub/src/GNU/fftw/
26
27checksums                       md5 76cd21ecc9a7bed6343566c473c36477
28configure.args          --enable-type-prefix --enable-threads \
29                                        --disable-fortran --infodir=${prefix}/share/info
30
31variant 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
37variant powerpc {
38        distname                ${distname}-fma
39        checksums               md5 fe6d96580eaeda1035ecab54507b4092
40        configure.args-append   --enable-fma
41}
42
43variant altivec {
44        configure.args-append    --enable-altivec --enable-float
45}