Permalink
Browse files
multimon-ng: new port
multimon-ng is the successor of multimon. It decodes the following digital transmission modes: POCSAG512 POCSAG1200 POCSAG2400 FLEX EAS UFSK1200 CLIPFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE_CW X10. Closes: https://trac.macports.org/ticket/48785
- Loading branch information
| @@ -0,0 +1,54 @@ | ||
| # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 | ||
|
|
||
| PortSystem 1.0 | ||
| PortGroup cmake 1.1 | ||
| PortGroup github 1.0 | ||
|
|
||
| github.setup EliasOenal multimon-ng 1.1.7 | ||
|
|
||
| platforms darwin | ||
| categories science comms | ||
| license GPL-2.0 | ||
| maintainers {@ra1nb0w irh.it:rainbow} openmaintainer | ||
|
|
||
| description multimon-ng decodes radio digital transmission signals | ||
| long_description multimon-ng is the successor of multimon. \ | ||
| It decodes the following digital transmission modes: \ | ||
| POCSAG512 POCSAG1200 POCSAG2400 FLEX EAS UFSK1200 CLIPFSK \ | ||
| AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 \ | ||
| DTMF ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE_CW X10 | ||
|
|
||
| checksums rmd160 c4fbc0b7bf6557e6669cf5df43b94b6fb794202f \ | ||
| sha256 91bbe6f39bac840fea3e64e84b9ec7461ba1e74048369532591a31dcce84d94c \ | ||
| size 2430248 | ||
|
|
||
| configure.args-append \ | ||
| -DPULSE_AUDIO_SUPPORT=0 \ | ||
| -DX11_SUPPORT=0 | ||
|
|
||
| variant pulseaudio description {Enable Pulseaudio support} { | ||
| depends_lib-append \ | ||
| port:pulseaudio | ||
|
|
||
| configure.args-replace \ | ||
| -DPULSE_AUDIO_SUPPORT=0 -DPULSE_AUDIO_SUPPORT=1 | ||
| } | ||
|
|
||
| variant x11 { | ||
| depends_lib-append \ | ||
| port:xorg-libsm \ | ||
| port:xorg-libice \ | ||
| port:xorg-libX11 | ||
|
|
||
| configure.args-replace \ | ||
| -DX11_SUPPORT=0 -DX11_SUPPORT=1 | ||
| } | ||
|
|
||
| # add some examples and documentation | ||
| post-destroot { | ||
| xinstall -d ${destroot}${prefix}/etc/${name} | ||
| file copy ${worksrcpath}/example ${destroot}${prefix}/etc/${name}/ | ||
| } | ||
|
|
||
| test.run yes | ||
| test.cmd ./multimon-ng |