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

platforms           darwin macosx
categories          science
license             MIT
maintainers         {ra1nb0w @ra1nb0w} {michaelld @michaelld} openmaintainer

description         Soapy SDR plugin for AirspyHF+
long_description    {*}${description}

github.setup        pothosware SoapyAirspyHF 0.2.0 soapy-airspyhf-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  e74a354c9f03eb831038fbdd77e56bb3be317034 \
                    sha256  78664b30f21557c4f75761e59610fe8a32e5400119ec03175a1225238ad05375 \
                    size    11469
revision            1

compiler.cxx_standard 2011

depends_build-append \
    port:pkgconfig

depends_lib-append \
    port:SoapySDR \
    port:airspyhf

configure.args-append \
    -DCMAKE_BUILD_TYPE=Release
