source: trunk/dports/science/indi/Portfile

Last change on this file was 150613, checked in by raimue@…, 14 months ago

science/cfitsio:
Fix compatibility version in library, closes #51645
Rev-bump all direct dependents for rebuild.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- 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
2# $Id: Portfile 150613 2016-07-24 08:27:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                indi
8
9version             0.9.6
10revision            1
11set branch          [join [lrange [split ${version} .] 0 1] .]
12categories          science
13license             LGPL-2.1+
14maintainers         gmail.com:ferran.casarramona
15
16description         distributed control protocol for astronomical instrumentation
17long_description    INDI is a distributed control protocol designed to \
18                    operate astronomical instrumentation. INDI is small, \
19                    flexible, easy to parse, and scalable. It supports common \
20                    DCS functions such as remote control, data acquisition, \
21                    monitoring, and a lot more.  With INDI, you have a total \
22                    transparent control over your instruments so you can get \
23                    more science with less time.
24
25homepage            http://www.indilib.org/
26master_sites        sourceforge:project/indi/indilib/${branch}
27
28platforms           darwin
29
30distname            libindi_${version}
31
32checksums           rmd160  aec032a5a131a67439fca36dc3a1bb71f0979dd5 \
33                    sha256  44ef0a943fe9f312f874b2e76b9892bd850c60cbd936f608fb2c224375d6d0b3
34
35depends_lib         port:libnova \
36                    port:zlib \
37                    port:libusb \
38                    port:libusb-compat \
39                    port:cfitsio
40
41worksrcdir          libindi-${version}
42
43configure.args-append \
44                    -DWITH_CFITSIO=ON \
45                    -DWITH_FLI=OFF \
46                    -DNOVA_INCLUDE_DIR=${prefix}/include/libnova \
47                    -DNOVA_LIBRARIES=${prefix}/lib/libnova.dylib \
48                    -DBUILD_ROOT=${destroot} \
49                    ${worksrcpath}
50
51pre-activate {
52    # Remove symlinks left behind by indi 0.8_0 and earlier.
53    foreach file {indi_lx200_16 indi_lx200ap indi_lx200autostar indi_lx200classic indi_lx200gps indi_tcfs3_focus} {
54        file delete -force ${prefix}/bin/${file}
55    }
56}
57
58livecheck.type      sourceforge
59livecheck.regex     /libindi_(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.