# -*- 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
PortGroup           active_variants 1.1

github.setup        thliebig QCSXCAD 1cde9d560a5000f4c24c249d2dd5ccda12de38b6
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20230106-[string range ${github.version} 0 7]
checksums           rmd160  c619c2075e0e81b66c7b16dc3bc4ac9cbd44b1d0 \
                    sha256  510c0c4b7833e4fdac51205256cd33341c55df7c500e910633b046cf40c380e0 \
                    size    628662
revision            1

platforms           darwin macosx
categories          graphics
license             LGPL-3
maintainers         {ra1nb0w @ra1nb0w} openmaintainer

description         Qt-GUI library for CSXCAD
long_description    {*}${description}

compiler.cxx_standard 2011

depends_lib-append \
    port:CSXCAD \
    port:tinyxml \
    port:vtk

require_active_variants vtk qt5
