# -*- 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
# same sources but with different version
maintainers {@ra1nb0w irh.it:rainbow} openmaintainer
description Fast Light Digital Modem Application
long_description Fldigi (Fast Light Digital Modem Application), is a \
cross-platform modem program that supports most of the peer-to-peer \
(live keyboard) digital modes used on the amateur radio bands.
homepage http://www.w1hkj.com
master_sites http://www.w1hkj.com/files/${name}/
checksums rmd160 394d3eda37f6ff7f2c12a668a667672f7b6c942d \
sha256 dc4864b6e63c688b9dd932587bdaf7becfa17558380f7deff1236eb6b66921f0 \
path:lib/libfltk.dylib:fltk \
# We put this into a pre-configure block so it can be evaluated _after_ platform selection.
# enable optimization (SSE3) on all Intel hardwares
if {${build_arch} eq "i386" || ${build_arch} eq "x86_64"} {
--enable-optimizations=sse3
# Fix building for older macOS versions via MACOSX_DEPLOYMENT_TARGET
# from http://www.w1hkj.com/doku/doku.php?id=howto:building_on_os_x
if {${os.platform} eq "darwin" && [vercmp $macosx_deployment_target 10.12] < 0} {
MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}
variant bundle description {Enable the optional macOS bundle of fldigi/flarq} {
patch-mkappbundle.sh.diff
xinstall -d -m 0755 ${destroot}${applications_dir}
copy ${workpath}/${name}-${version}/src/${name}-${version}/${name}-${version}.app ${destroot}${applications_dir}/${name}.app