Ticket #52516: sundials_Portfile.diff

File sundials_Portfile.diff, 1.7 KB (added by jjstickel (Jonathan Stickel), 8 years ago)
  • Portfile

    old new  
    66PortGroup           mpi 1.0
    77
    88name                sundials
    9 version             2.6.2
    10 revision            1
     9version             2.7.0
    1110categories          math devel
    1211license             bsd
    1312platforms           darwin
     
    2524                    (forward and adjoint).  KINSOL solves nonlinear algebraic\
    2625                    systems.
    2726
    28 homepage            http://computation.llnl.gov/casc/sundials/main.html
     27homepage            http://computation.llnl.gov/projects/sundials
    2928master_sites        http://computation.llnl.gov/projects/sundials-suite-nonlinear-differential-algebraic-equation-solvers/download/
    3029
    31 checksums           rmd160  da6549605b45ad698dfe40a5136b64a7a408d6c6 \
    32                     sha256  d8ed0151509dd2b0f317b318a4175f8b95a174340fc3080b8c20617da8aa4d2f
     30checksums           rmd160  7bbbff19828c8235422497e11891d07fe02e4021 \
     31                    sha256  d39fcac7175d701398e4eb209f7e92a5b30a78358d4a0c0fcc23db23c11ba104
    3332
    3433mpi.setup
    3534
     
    9190    configure.args-append -DLAPACK_LIBRARIES=${prefix}/lib/libtatlas.dylib
    9291}
    9392
     93variant fcmix description {Enable Fortran-C support} {
     94    configure.args-append -DFCMIX_ENABLE=ON
     95    if {![fortran_variant_isset]} {
     96        ui_error "FCMIX requires a fortran compiler"
     97        return -code error "no fortran compiler selected"
     98    }
     99}
     100
    94101variant doc description {install pdf documentation} {
    95102    post-destroot {
     103        file mkdir ${destroot}${prefix}/share/doc/${name}
    96104        eval copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}
    97105        system "find ${destroot}${prefix}/share/doc -type f -exec chmod 644 {} \\;"
    98106    }