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

github.setup        pothosware PothosFlow 0.7.1 pothos-flow-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  587a5662c8b92cdb3ad023ac24b9e27a12b7b97e \
                    sha256  21e332aba7adba1dcf45722d7c118e557a0fa149f3d01a34b9492a84f85ec63f \
                    size    661322
revision            1

compiler.cxx_standard 2011

compiler.thread_local_storage yes

# Needed due to nlohmann-json:
#   error: field has incomplete type
compiler.blacklist-append \
    {clang < 900}

depends_lib-append \
    port:PothosCore \
    port:poco \
    path:bin/dot:graphviz

configure.args-append \
    -DBUNDLE_DESTINATION=${applications_dir}
