# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
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}
distname libindi_${version}
checksums rmd160 aec032a5a131a67439fca36dc3a1bb71f0979dd5 \
sha256 44ef0a943fe9f312f874b2e76b9892bd850c60cbd936f608fb2c224375d6d0b3
depends_lib port:libnova \
worksrcdir libindi-${version}
-DNOVA_INCLUDE_DIR=${prefix}/include/libnova \
-DNOVA_LIBRARIES=${prefix}/lib/libnova.dylib \
-DBUILD_ROOT=${destroot} \
# 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}