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

name                Pothos
# we use PothosCore version as reference
version             0.6.1
license             Boost-1
platforms           darwin macosx
categories          science
maintainers         {@ra1nb0w irh.it:rainbow} {michaelld @michaelld} openmaintainer

description         Pothos is Software Defined Radio (SDR) with a \
    complete data-flow framework for creating topologies of \
    interconnected processing blocks.
long_description    ${description} \
    Topologies can be designed and tested graphically, and \
    deployed over a network. The Pothos framework API is sleek and smart, \
    enabling users to quickly create custom processing blocks with minimal \
    boiler-plate. Processing blocks can support computational offload and \
    integration with SoC and DMA devices.
homepage            http://pothosware.com
distfiles
revision            0

depends_run-append \
    port:PothosAudio \
    port:PothosBlocks \
    port:PothosComms \
    port:PothosFlow \
    port:PothosPlotters \
    port:PothosSoapy \
    port:PothosWidgets

use_configure           no
build                   {}
supported_archs         noarch

destroot {
    # Install a dummy file to keep MacPorts from complaining that the destroot
    # directory is empty.
    xinstall -d ${destroot}${prefix}/share/${name}
    system "touch ${destroot}${prefix}/share/${name}/dummy.txt"
}
