# -*- 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 Airspy
long_description    {*}${description}

github.setup        pothosware SoapyAirspy 0.2.0 soapy-airspy-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  e87f1ab58898d849d8ce3c3fa1ad312d91b52bda \
                    sha256  a1c792fbefa4cfe2eaf9189810bd0b1689fece949282250568a83af6741a1698 \
                    size    11029
revision            1

compiler.cxx_standard 2011

depends_build-append \
    port:pkgconfig

depends_lib-append \
    port:SoapySDR \
    port:airspy

configure.args-append \
    -DCMAKE_BUILD_TYPE=Release
