# -*- 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
description Menu driven communications program
long_description Minicom is a menu driven communications program. It \
emulates ANSI and VT102 terminals. It has a dialing \
directory and auto zmodem download.
homepage https://alioth.debian.org/projects/minicom
master_sites https://alioth.debian.org/frs/download.php/file/${download_id}
checksums rmd160 cc538b69d3bbc0de13691ac6394f03e97c5dfb5d \
sha256 532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1
depends_build port:pkgconfig
depends_lib port:gettext \
depends_run port:kermit \
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/src/rwconf.c
reinplace "s|/usr/bin/ascii-xfr|${prefix}/bin/ascii-xfr|g" ${worksrcpath}/src/rwconf.c
configure.args --enable-lock-dir=/tmp \
--enable-kermit=${prefix}/bin
livecheck.url ${homepage}
livecheck.regex "Source (\\d+(?:\\.\\d+)*) - Download"