Ticket #31050: indi.diff

File indi.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • Portfile

     
    66name                indi
    77
    88version             0.8
     9revision            1
    910set branch          [join [lrange [split ${version} .] 0 1] .]
    1011
    1112categories          science
     
    4445                   -DWITH_CFITSIO=ON \
    4546                   -DWITH_FLI=OFF \
    4647                   -DNOVA_INCLUDE_DIR=${prefix}/include/libnova \
    47                    -DNOVA_LIBRARIES=${prefix}/lib/libnova.a \
     48                    -DNOVA_LIBRARIES=${prefix}/lib/libnova.dylib \
     49                    -DBUILD_ROOT=${destroot} \
    4850                   ${worksrcpath}
    4951
     52pre-activate {
     53    # Remove symlinks left behind by indi 0.8_0 and earlier.
     54    foreach file {indi_lx200_16 indi_lx200ap indi_lx200autostar indi_lx200classic indi_lx200gps indi_tcfs3_focus} {
     55        file delete -force ${prefix}/bin/${file}
     56    }
     57}
     58
    5059livecheck.type      sourceforge
    5160livecheck.regex     /libindi_(\[0-9.\]+)${extract.suffix}