Ticket #52516: sundials_Portfile.diff
File sundials_Portfile.diff, 1.7 KB (added by jjstickel (Jonathan Stickel), 8 years ago) |
---|
-
Portfile
old new 6 6 PortGroup mpi 1.0 7 7 8 8 name sundials 9 version 2.6.2 10 revision 1 9 version 2.7.0 11 10 categories math devel 12 11 license bsd 13 12 platforms darwin … … 25 24 (forward and adjoint). KINSOL solves nonlinear algebraic\ 26 25 systems. 27 26 28 homepage http://computation.llnl.gov/ casc/sundials/main.html27 homepage http://computation.llnl.gov/projects/sundials 29 28 master_sites http://computation.llnl.gov/projects/sundials-suite-nonlinear-differential-algebraic-equation-solvers/download/ 30 29 31 checksums rmd160 da6549605b45ad698dfe40a5136b64a7a408d6c6\32 sha256 d 8ed0151509dd2b0f317b318a4175f8b95a174340fc3080b8c20617da8aa4d2f30 checksums rmd160 7bbbff19828c8235422497e11891d07fe02e4021 \ 31 sha256 d39fcac7175d701398e4eb209f7e92a5b30a78358d4a0c0fcc23db23c11ba104 33 32 34 33 mpi.setup 35 34 … … 91 90 configure.args-append -DLAPACK_LIBRARIES=${prefix}/lib/libtatlas.dylib 92 91 } 93 92 93 variant 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 94 101 variant doc description {install pdf documentation} { 95 102 post-destroot { 103 file mkdir ${destroot}${prefix}/share/doc/${name} 96 104 eval copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name} 97 105 system "find ${destroot}${prefix}/share/doc -type f -exec chmod 644 {} \\;" 98 106 }