Ticket #35342: sundials_Portfile.diff

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

    old new  
    2525                    (forward and adjoint).  KINSOL solves nonlinear algebraic\
    2626                    systems.
    2727
    28 homepage            https://computation.llnl.gov/casc/sundials/main.html
    29 master_sites        http://www.llnl.gov/casc/sundials/download/code/
     28homepage            http://computation.llnl.gov/casc/sundials/main.html
     29master_sites        http://computation.llnl.gov/casc/sundials/download/code/
    3030
    3131checksums           rmd160  c489fcb114f6846c7d5aef2d0eb096cb96f3fbc9 \
    3232                    sha256  9935760931fa6539edd0741acbcf4986770426fd5ea40e50ad4ebed0fc77b0d3
     
    8585    configure.args-append --with-lapack=${prefix}/lib/libtatlas.dylib
    8686}
    8787
     88post-destroot {
     89    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     90    xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${prefix}/share/doc/${name}
     91}
     92
     93variant doc description {install pdf documentation} {
     94    post-destroot {
     95        system "cp -r ${worksrcpath}/doc/* ${destroot}${prefix}/share/doc/${name}/."
     96        system "find ${destroot}${prefix}/share/doc -type f -exec chmod 644 {} \\;"
     97    }
     98}
     99
    88100livecheck.type      regex
    89101livecheck.regex     v.(\[0-9.\]+)