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

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

fftw-3: add "use_parallel_build yes" (closes #16092)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 38599 2008-07-25 12:51:14Z takeshi@macports.org $
3
4PortSystem      1.0
5
6name            fftw-3
7version         3.1.2
8revision        6
9categories      math
10platforms       darwin
11maintainers     takeshi@macports.org
12homepage        http://www.fftw.org/
13distname        fftw-${version}
14
15master_sites \
16        ${homepage} \
17        ftp://ftp.fftw.org/pub/fftw/ \
18        ftp://ftp.kusastro.kyoto-u.ac.jp/pub/src/GNU/fftw/
19
20description \
21        Fast C routines to compute the Discrete Fourier Transform
22
23long_description \
24        FFTW is a C subroutine library for computing the \
25        Discrete Fourier Transform (DFT) in one or more \
26        dimensions, of both real and complex data, and of \
27        arbitrary input size. We believe that FFTW, which is \
28        free software, should become the FFT library of choice \
29        for most applications. Our benchmarks, performed on a \
30        variety of platforms, show that FFTW's performance is \
31        typically superior to that of other publicly available \
32        FFT software. Moreover, FFTW's performance is portable: \
33        the program will perform well on most architectures \
34        without modification. \
35        This port is of fftw version 3.x. It has many \
36        improvements relative to 2.x, but is not backwardly \
37        compatible.
38
39checksums 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
55use_parallel_build yes
56
57variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 g95 {
58        depends_lib-append    port:gcc42
59        configure.f77         gfortran-mp-4.2
60        configure.args-delete --disable-fortran
61}
62
63variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 g95 {
64        depends_lib-append    port:gcc43
65        configure.f77         gfortran-mp-4.3
66        configure.args-delete --disable-fortran
67}
68
69variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 {
70        depends_lib-append    port:g95
71        configure.f77         g95
72        configure.args-delete --disable-fortran
73}
74
75livecheck.check regex
76livecheck.url   ${homepage}
77livecheck.regex {FFTW ([0-9]+\.[0-9]+\.[0-9]+) is the latest}
Note: See TracBrowser for help on using the repository browser.