# -*- 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           github 1.0
PortGroup           cmake 1.1
PortGroup           boost 1.0

platforms           darwin macosx
categories          science
license             GPL-3
maintainers         {ra1nb0w @ra1nb0w} {michaelld @michaelld} openmaintainer

description         Soapy SDR plugins for UHD devices
long_description    {*}${description}

github.setup        pothosware SoapyUHD 0.4.1 soapy-uhd-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160 61cb581f09ffd05d9dc0d80565145d1a8380ed80 \
                    sha256 3b5b49d1c71444ae824d2b1f074002d2bb1a5dcfeec34b2b8bc26e0cf28ce2ef \
                    size   33855
revision            2

compiler.cxx_standard 2011

depends_build-append \
    port:pkgconfig

depends_lib-append \
    port:SoapySDR \
    path:lib/libuhd.dylib:uhd

cmake.build_type    Release
