Ticket #30073: Portfile

File Portfile, 1.8 KB (added by fcasarramona, 13 years ago)

indi v. 0.8 Portfile

Line 
1# $Id: Portfile 60619 2009-11-17 06:50:31Z blb@macports.org $
2
3PortSystem          1.0
4
5name                indi
6
7version             0.8
8       
9categories          science
10
11maintainers         gmail.com:jtomshine
12
13description         distributed control protocol for astronomical instrumentation
14long_description    INDI is a distributed control protocol designed to \
15                    operate astronomical instrumentation. INDI is small, \
16                    flexible, easy to parse, and scalable. It supports common \
17                    DCS functions such as remote control, data acquisition, \
18                    monitoring, and a lot more.  With INDI, you have a total \
19                    transparent control over your instruments so you can get \
20                    more science with less time.
21                   
22homepage            http://www.indilib.org
23
24platforms           darwin
25
26distname            libindi_${version}
27master_sites        sourceforge
28
29checksums           md5 ca2b7c56431eb5e08218929e5eb72150 \
30                    sha1 5bf30b66f57f4e5dd63b38798e9eacc853c59d9b \
31                    rmd160 882f8f99df1d24fa36c58e2090a9f6baaee00df7
32                   
33depends_lib         port:libnova \
34                    port:zlib \
35                    port:libusb \
36                    port:boost \
37                    port:libusb-compat \
38                    port:cfitsio
39
40depends_build       port:cmake
41
42worksrcdir          libindi-${version}
43
44configure.cmd      ${prefix}/bin/cmake
45configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} \
46configure.args     -DWITH_CFITSIO=ON \
47                   -DWITH_FLI=OFF \
48                   -DNOVA_INCLUDE_DIR=${prefix}/include/libnova \
49                   -DNOVA_LIBRARIES=${prefix}/lib/libnova.a \
50                   ${worksrcpath}
51destroot.env       CMAKE_INSTALL_PREFIX=${destroot}${prefix}
52