# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 150613 2016-07-24 08:27:35Z raimue@macports.org $ PortSystem 1.0 PortGroup cmake 1.0 name indi version 0.9.6 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] categories science license LGPL-2.1+ maintainers gmail.com:ferran.casarramona description distributed control protocol for astronomical instrumentation long_description INDI is a distributed control protocol designed to \ operate astronomical instrumentation. INDI is small, \ flexible, easy to parse, and scalable. It supports common \ DCS functions such as remote control, data acquisition, \ monitoring, and a lot more. With INDI, you have a total \ transparent control over your instruments so you can get \ more science with less time. homepage http://www.indilib.org/ master_sites sourceforge:project/indi/indilib/${branch} platforms darwin distname libindi_${version} checksums rmd160 aec032a5a131a67439fca36dc3a1bb71f0979dd5 \ sha256 44ef0a943fe9f312f874b2e76b9892bd850c60cbd936f608fb2c224375d6d0b3 depends_lib port:libnova \ port:zlib \ port:libusb \ port:libusb-compat \ port:cfitsio worksrcdir libindi-${version} configure.args-append \ -DWITH_CFITSIO=ON \ -DWITH_FLI=OFF \ -DNOVA_INCLUDE_DIR=${prefix}/include/libnova \ -DNOVA_LIBRARIES=${prefix}/lib/libnova.dylib \ -DBUILD_ROOT=${destroot} \ ${worksrcpath} pre-activate { # Remove symlinks left behind by indi 0.8_0 and earlier. foreach file {indi_lx200_16 indi_lx200ap indi_lx200autostar indi_lx200classic indi_lx200gps indi_tcfs3_focus} { file delete -force ${prefix}/bin/${file} } } livecheck.type sourceforge livecheck.regex /libindi_(\[0-9.\]+)${extract.suffix}