source: trunk/dports/math/fftw-3/Portfile @ 36864

Last change on this file since 36864 was 36864, checked in by takeshi@…, 11 years ago

fftw-3: added univeral_variant no

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 36864 2008-05-17 02:44:39Z takeshi@macports.org $
2
3PortSystem      1.0
4
5name            fftw-3
6version         3.1.2
7revision        5
8categories      math
9platforms       darwin
10maintainers     takeshi@macports.org
11homepage        http://www.fftw.org/
12distname        fftw-${version}
13
14master_sites \
15        ${homepage} \
16        ftp://ftp.fftw.org/pub/fftw/ \
17        ftp://ftp.kusastro.kyoto-u.ac.jp/pub/src/GNU/fftw/
18
19description \
20        Fast C routines to compute the Discrete Fourier Transform
21
22long_description \
23        FFTW is a C subroutine library for computing the \
24        Discrete Fourier Transform (DFT) in one or more \
25        dimensions, of both real and complex data, and of \
26        arbitrary input size. We believe that FFTW, which is \
27        free software, should become the FFT library of choice \
28        for most applications. Our benchmarks, performed on a \
29        variety of platforms, show that FFTW's performance is \
30        typically superior to that of other publicly available \
31        FFT software. Moreover, FFTW's performance is portable: \
32        the program will perform well on most architectures \
33        without modification. \
34        This port is of fftw version 3.x. It has many \
35        improvements relative to 2.x, but is not backwardly \
36        compatible.
37
38checksums \
39        md5 08f2e21c9fd02f4be2bd53a62592afa4 \
40        sha1 3e4c64009ffb48123a0f30f46c1d89da7810dc67 \
41        rmd160 13069b3582eeaa1fba1614cdca2dfbc2e45ab585
42
43configure.args \
44        --enable-threads \
45        --enable-fma \
46        --disable-fortran \
47        --enable-shared
48
49configure.cflags-append -fno-common
50
51test.run     yes
52test.target  check
53
54universal_variant no
55
56variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 g95 {
57        depends_lib-append    port:gcc42
58        configure.f77         gfortran-mp-4.2
59        configure.args-delete --disable-fortran
60}
61
62variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 g95 {
63        depends_lib-append    port:gcc43
64        configure.f77         gfortran-mp-4.3
65        configure.args-delete --disable-fortran
66}
67
68variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 {
69        depends_lib-append    port:g95
70        configure.f77         g95
71        configure.args-delete --disable-fortran
72}
73
74livecheck.check regex
75livecheck.url   ${homepage}
76livecheck.regex {FFTW ([0-9]+\.[0-9]+\.[0-9]+) is the latest}
Note: See TracBrowser for help on using the repository browser.