# -*- 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

PortSystem          1.0
PortGroup           github 1.0

name                minimodem
github.setup        kamalmostafa minimodem 0.24 minimodem- -1
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1

categories          net audio
license             GPL-3
maintainers         {danchr @danchr} openmaintainer
description         General-purpose software audio FSK modem

long_description    Minimodem is a command-line program which decodes \
                    (or generates) audio modem tones at any specified \
                    baud rate, using various framing protocols. It \
                    acts a general-purpose software FSK modem, and \
                    includes support for various standard FSK \
                    protocols such as Bell103, Bell202, RTTY, TTY/TDD, \
                    NOAA SAME, and Caller-ID. Minimodem can play and \
                    capture audio modem tones in real-time via the \
                    system audio device, or in batched mode via audio \
                    files. Minimodem can be used to transfer data \
                    between nearby computers using an audio cable (or \
                    just via sound waves), or between remote computers \
                    using radio, telephone, or another audio \
                    communications medium.

use_autoreconf      yes

depends_build       port:pkgconfig port:autoconf port:automake
depends_lib         port:pulseaudio port:libsndfile

configure.args-append --without-alsa

checksums           rmd160  b6dbb9ad265b1e39e8846af74c8eac0c2c98f984 \
                    sha256  c1c0f51c7dde2349f0e3ca2118980644509106d4e670700013682e76f0756aa3 \
                    size    58672
