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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | github.setup EliasOenal multimon-ng 1.1.3 |
---|
8 | |
---|
9 | categories science comms |
---|
10 | platforms darwin |
---|
11 | license GPL-2 |
---|
12 | maintainers m4x.org:db_macports openmaintainer |
---|
13 | |
---|
14 | checksums rmd160 6745267d6b5276afc0d8497cd228379f3a540cc7 \ |
---|
15 | sha256 d76bbc49c278d2b57419e0e7ec08a50a671434d4a1b5c8946cfb3e4f5e64c51f |
---|
16 | |
---|
17 | description multimon-ng decodes radio digital transmission signals |
---|
18 | long_description multimon-ng is a fork of multimon, decoding radio digital transmission signals. \ |
---|
19 | It decodes the following digital transmission modes: \ |
---|
20 | POCSAG512 POCSAG1200 POCSAG2400 EAS UFSK1200 CLIPFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 \ |
---|
21 | HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE_CW |
---|
22 | |
---|
23 | ## this port can build with cmake, or with qt4 or qt5 if desired, but many dependencies |
---|
24 | |
---|
25 | # I couldn't get multimon-ng to open up qt windows, |
---|
26 | # but it did with X11, when run like this: |
---|
27 | # multimon-ng /opt/local/etc/multimon-ng/example/x10rf.wav |
---|
28 | # multimon-ng /opt/local/etc/multimon-ng/example/ufsk1200.raw |
---|
29 | |
---|
30 | #### X11 version ####### |
---|
31 | # not certain these are all the dependencies for the X11 version yet |
---|
32 | |
---|
33 | depends_lib-append port:pulseaudio \ |
---|
34 | port:xorg-libsm \ |
---|
35 | port:xorg-libice \ |
---|
36 | port:xorg-libX11 \ |
---|
37 | |
---|
38 | ###### QT version ######## |
---|
39 | |
---|
40 | # if {${os.platform} eq "darwin" && ${os.major} < 11} { |
---|
41 | # default_variants-append +qt4 |
---|
42 | # } |
---|
43 | # |
---|
44 | # variant qt4 description "Enable qt4 instead of qt5" {} |
---|
45 | # |
---|
46 | # if {[variant_isset qt4]} { |
---|
47 | # PortGroup qmake 1.0 |
---|
48 | # } else { |
---|
49 | # PortGroup qmake5 1.0 |
---|
50 | # } |
---|
51 | # |
---|
52 | #configure.post_args multimon-ng.pro |
---|
53 | |
---|
54 | # are these needed for anything? They were commented out in the portfile |
---|
55 | #depends_lib port:rtl-sdr port:libusb |
---|
56 | |
---|
57 | # add some examples and documentation |
---|
58 | post-destroot { |
---|
59 | xinstall -d ${destroot}${prefix}/etc/${name} |
---|
60 | file copy ${worksrcpath}/example ${destroot}${prefix}/etc/${name}/ |
---|
61 | |
---|
62 | } |
---|