# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup qt5 1.0 PortGroup cmake 1.1 PortGroup compiler_blacklist_versions 1.0 name scidavis version 2.7 revision 1 categories science license GPL-2+ maintainers {nicos @NicosPavlov} openmaintainer description SciDAVis is a user-friendly data analysis and visualization program \ primarily aimed at high-quality plotting of scientific data long_description ${description} platforms darwin homepage http://scidavis.sourceforge.net #The developer keeps changing naming conventions, so we stay hard-coded for now master_sites sourceforge:project/scidavis/SciDAVis/2/2.7 compiler.cxx_standard 2017 compiler.blacklist-append *gcc* {clang < 318.0.61} depends_lib-append port:gsl \ port:muparser \ port:zlib \ port:gl2ps checksums rmd160 affb03f770bada35650319785d1b17e3eb8585c8 \ sha256 3687b58be4d15f8500414aa78195a27bb1795caaa15ff328b253147ef58c8fe2 \ size 11765155 universal_variant no configure.args-append -DORIGIN_IMPORT="ON" qt5.depends_component qtimageformats qtsvg qttools variant python39 description "add support for python scripting" { depends_lib-append port:python39 \ port:py39-sip4 \ port:py39-pyqt5 configure.args-append "-DSCRIPTING_PYTHON=ON" \ "-DSIP_FOUND=TRUE" \ "-DPython3_ROOT_DIR=${frameworks_dir}/Python.framework/Versions/3.9/bin" \ "-DSIP_EXECUTABLE=${prefix}/bin/sip-3.9" pre-configure { reinplace "s|find_package( SIP|#find_package( SIP|g" ${worksrcpath}/CMakeLists.txt } } livecheck.type sourceforge livecheck.url http://sourceforge.net/projects/scidavis/files/SciDAVis/2 #livecheck.regex (\[0-9.\]+\[A-Z\]+\[0-9.\])