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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup MalcolmRobb dump1090 bff92c4ad772a0a8d433f788d39dae97e00e4dbe |
---|
8 | version 20141031 |
---|
9 | categories science comms |
---|
10 | platforms darwin |
---|
11 | license BSD |
---|
12 | maintainers m4x.org:db_macports openmaintainer |
---|
13 | |
---|
14 | description Dump 1090 is a Mode S decoder specifically designed for RTLSDR devices |
---|
15 | long_description Dump 1090 is a Mode S decoder specifically designed for RTLSDR devices. \ |
---|
16 | Mode S messages are sent unencrypted over radio at 1090MHz, and provide \ |
---|
17 | position/speed of planes. |
---|
18 | homepage https://github.com/MalcolmRobb/dump1090 |
---|
19 | |
---|
20 | checksums rmd160 ee954c5fe570cae88e4b83371f7278e2e5d6b00f \ |
---|
21 | sha256 92bdc136448da375aa0f986def75e5fe5f287f977ffb3593605fc6b7d4399691 |
---|
22 | |
---|
23 | depends_build port:pkgconfig |
---|
24 | depends_lib port:rtl-sdr port:libusb |
---|
25 | |
---|
26 | use_configure no |
---|
27 | |
---|
28 | build.args PREFIX=${prefix} |
---|
29 | |
---|
30 | destroot { |
---|
31 | # install binaries (Makefile doesn't provide 'install') |
---|
32 | xinstall -m 755 -W ${worksrcpath} dump1090 view1090 ${destroot}${prefix}/bin |
---|
33 | |
---|
34 | # install files for the web interface |
---|
35 | xinstall -m 755 -d ${destroot}${prefix}/share/${name}/coolclock |
---|
36 | xinstall -m 644 -W ${worksrcpath}/public_html gmap.html style.css ${destroot}${prefix}/share/${name} |
---|
37 | xinstall -m 644 {*}[glob ${worksrcpath}/public_html/*.js] ${destroot}${prefix}/share/${name} |
---|
38 | xinstall -m 644 {*}[glob ${worksrcpath}/public_html/coolclock/*.js] ${destroot}${prefix}/share/${name}/coolclock |
---|
39 | } |
---|