# -*- 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           github 1.0
PortGroup           qt6 1.0

name                socnetv
github.setup        socnetv app 3.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0

categories          science
license             GPL-3+
maintainers         {gmail.com:szhorvat @szhorvat} openmaintainer

description         Social Network Visualizer
long_description    Social Network Visualizer (SocNetV) is a cross-platform, \
                    user-friendly free graphical software application for social \
                    network analysis and visualization.

homepage            https://socnetv.org/

checksums           rmd160  bfbf406ca6b6cdc13d61ad3dde608b86bec71a68 \
                    sha256  43a9a2b26917833aff9eddf838014f0d925ec3994294eabd1a449b97f8202544 \
                    size    808698

configure.cmd       [option qt6.dir]/bin/qmake
configure.pre_args-replace      --prefix=${prefix} "PREFIX=${prefix}"

qt6.depends_lib     qt5compat \
                    qtcharts \
                    qtsvg

github.livecheck.regex (\\d(.\\d)*)

destroot {
    move ${worksrcpath}/SocNetV.app ${destroot}${applications_dir}
}
