# -*- 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 PortGroup app 1.0 PortGroup legacysupport 1.1 PortGroup makefile 1.0 # getline legacysupport.newest_darwin_requires_legacy 10 categories science comms platforms darwin macosx license GPL-2 maintainers {ra1nb0w @ra1nb0w} openmaintainer description a graphical user interface for rig control, offering also "rigctld" functionality long_description RigCtldGUI is ${description} github.setup dl1ycf RigCtldGUI d49f88b94b64c9636e44da1867eab0461553e96e version 20220406-[string range ${github.version} 0 7] checksums rmd160 b639bc162c54e274d1677346a87d36796e929ca1 \ sha256 c632fb071caaf6c4a18860058fd59423c3c1c9ea0038a3f8b02d04aaba79664e \ size 2492605 revision 0 # is using clang++ to link but isn't using MacPorts CXXFLAGS # therefore we need to add -stdlib manually if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} ne ""} { configure.ldflags-append -stdlib=${configure.cxx_stdlib} } use_configure no build.target RigCtl depends_build-append \ port:pkgconfig depends_lib-append \ path:lib/libfltk.dylib:fltk \ path:lib/libhamlib.dylib:hamlib \ port:portaudio destroot { xinstall -m 755 ${worksrcpath}/RigCtl \ ${destroot}${prefix}/bin/RigCtlGUI } app.create yes app.name RigCtldGUI app.executable RigCtlGUI app.icon RigCtl.icns app.retina yes