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

platforms           darwin macosx
categories          science
license             Boost-1
maintainers         {ra1nb0w @ra1nb0w} {michaelld @michaelld} openmaintainer

description         Pothos Flow is the GUI frontend and designer tool for the Pothos framework.
long_description    The plotters toolkit provides plotter widgets which \
    are combined processing blocks with Qt widgets which are capable of \
    displaying signal visualization within the Pothos GUI. Such blocks \
    include: time-domain waveform viewer, periodogram, spectrogram, \
    constellation plotter, and others

github.setup        pothosware PothosPlotters 0.4.2 pothos-plotters-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  3b1f639eaf43ef2bdd5435dd413ca8e9f61643d9 \
                    sha256  db8bcd1d2d1c63ebb1925d0ccd30cb7b7266cd4064c9f9a4f675059b2a3cea84 \
                    size    68618
revision            0

compiler.cxx_standard 2011

depends_build-append \
    port:pkgconfig

depends_lib-append \
    port:PothosCore \
    port:PothosComms \
    port:spuce \
    port:qwt-qt5

# Requires qwt >= 6.0, installed for qt5.
configure.args-append \
    -DQWT_INCLUDE_DIR=${qt_dir}/lib/qwt.framework/Versions/6/Headers \
    -DQWT_LIBRARY=${qt_dir}/lib/qwt.framework/qwt
