# -*- 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 cxx11 1.1 platforms darwin macosx categories science license Boost-1 maintainers {@ra1nb0w irh.it:rainbow} {michaelld @michaelld} openmaintainer description Pothos toolkit for liquid DSP processing cores long_description This toolkit wraps Pothos blocks around the Liquid \ DSP library. Blocks are generated from the liquid DSP include header \ and a file describing the available functions and parameters. \ github.setup pothosware PothosLiquidDSP bb1e1dcd2b8c790150a947b0ea1816475469b6ab version 0.0.0-git-20190528 checksums rmd160 9032b67b722b08718b46130daf628a68ab38022f \ sha256 e6f61153ce019de4c948ce3d3d1f14b4f68f67eaf5e8b18b63b6cd7288e8027d \ size 37461 revision 0 # set Python version and variants set PythonVersionNoDot "" # select Python to use; default to 3.6 variant python35 conflicts python36 python37 description {Build using Python 3.5} {} variant python36 conflicts python35 python37 description {Build using Python 3.6} {} variant python37 conflicts python35 python36 description {Build using Python 3.7} {} if {![variant_isset python35] && ![variant_isset python36] && ![variant_isset python37]} { default_variants +python37 } if {![variant_isset python35] && ![variant_isset python36] && ![variant_isset python37]} { ui_error "\n\nYou must select one of the variants +python35, +python36, or +python37.\n" return -code error "Invalid variant selection" } if {[variant_isset python35]} { set PythonVersionNoDot "35" } elseif {[variant_isset python36]} { set PythonVersionNoDot "36" } else { set PythonVersionNoDot "37" } set PythonVersionWithDot [join [split ${PythonVersionNoDot} ""] "."] depends_lib-append \ port:PothosCore \ port:liquid-dsp depends_build-append \ port:py${PythonVersionNoDot}-ply \ port:py${PythonVersionNoDot}-yaml \ port:py${PythonVersionNoDot}-mako configure.args-append \ -DPYTHON_EXECUTABLE=${frameworks_dir}/Python.framework/Versions/${PythonVersionWithDot}/bin/python${PythonVersionWithDot} \ -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/${PythonVersionWithDot}/Headers \ -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/${PythonVersionWithDot}/Python