New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22459: Portfile.diff

File Portfile.diff, 2.3 KB (added by ryusuke.numata@…, 3 years ago)
  • Portfile

    old new  
    33PortSystem      1.0 
    44name            fftw-single 
    55version         2.1.5 
    6 revision        1 
     6revision        2 
    77categories      math devel 
    88maintainers     nomaintainer 
    9 description     Single precision version of fftw 
     9description     Fast C routines to compute the Discrete Fourier Transform (single precision version) 
    1010long_description \ 
    1111        FFTW is a C subroutine library for computing the Discrete Fourier \ 
    1212        Transform (DFT) in one or more dimensions, of both real and complex \ 
     
    2121platforms       darwin 
    2222 
    2323distname        fftw-${version} 
     24dist_subdir     fftw 
    2425homepage        http://www.fftw.org/ 
    2526master_sites    ${homepage} \ 
    2627                ftp://ftp.fftw.org/pub/fftw/ \ 
    2728                ftp://ftp.kusastro.kyoto-u.ac.jp/pub/src/GNU/fftw/ 
    2829 
    29 checksums       md5 8d16a84f3ca02a785ef9eb36249ba433 
     30checksums       md5 8d16a84f3ca02a785ef9eb36249ba433 \ 
     31                sha1 12020b58edc1b0490a83db4aa912fac5dfdfb26b \ 
     32                rmd160 723308722d76c12710db6473979adf8d086b0909 
    3033 
    3134depends_run     port:fftw 
    3235 
    33 configure.args  --enable-type-prefix    \ 
    34                 --enable-threads        \ 
    35                 --enable-float          \ 
    36                 --disable-fortran       \ 
    37                 --infodir=${prefix}/share/info 
     36configure.args  --enable-type-prefix --enable-threads \ 
     37                --enable-shared --enable-mpi \ 
     38                --enable-float \ 
     39                --disable-fortran --infodir=${prefix}/share/info 
    3840 
    39 variant fortran { 
    40         depends_lib-append      port:gcc34 
     41platform darwin { 
     42        patchfiles-append       patch-configure_darwin 
     43        } 
     44 
     45variant gcc42 conflicts gcc43 g95 description {create Fortran wrappers using gcc42} { 
     46        depends_lib-append      port:gcc42 
     47        configure.compiler      macports-gcc-4.2 
     48        configure.args-delete   --disable-fortran 
     49        configure.args-append   --enable-fortran --with-gcc 
     50} 
     51 
     52variant gcc43 conflicts gcc42 g95 description {create Fortran wrappers using gcc43} { 
     53        depends_lib-append      port:gcc43 
     54        configure.compiler      macports-gcc-4.3 
     55        configure.args-delete   --disable-fortran 
     56        configure.args-append   --enable-fortran --with-gcc 
     57} 
     58 
     59variant g95 conflicts gcc42 gcc43 description {create Fortran wrappers using g95} { 
     60        depends_lib-append      port:g95 
     61        configure.f77           g95 
    4162        configure.args-delete   --disable-fortran 
    4263        configure.args-append   --enable-fortran 
    43         if {[variant_isset darwin]} { 
    44                 patchfiles-append       patch-configure_darwin 
    45         } 
    4664} 
    4765 
    4866# Documentation conflicts with the double precision version,