# -*- 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             LGPL-2.1
maintainers         {ra1nb0w @ra1nb0w} {michaelld @michaelld} openmaintainer

description         Soapy SDR plugin for Blade RF
long_description    {*}${description}

github.setup        pothosware SoapyBladeRF 0.4.1 soapy-bladerf-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  763f4f31e8573ffd511e6e41464f9fa44bfd786e \
                    sha256  6b90befee4372ff0011445c471c348b18f1998ae0d5b833c0026f088031c8a72 \
                    size    29195
revision            1

compiler.cxx_standard 2011

depends_build-append \
    port:pkgconfig

depends_lib-append \
    port:SoapySDR \
    port:bladeRF

configure.args-append \
    -DCMAKE_BUILD_TYPE=Release
