# -*- 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           qmake6 1.0

github.setup        tumic0 GPXSee 16.10
github.tarball_from archive
revision            0

checksums           rmd160  f72027bdd0d7cce14d929f9285147ab9b2297285 \
                    sha256  a99740cfab36d60a944b9938aa71eae0a0427407f75d617709df88179d1d06d8 \
                    size    6481438

categories          gis graphics
license             GPL-3
maintainers         {@sikmir disroot.org:sikmir} openmaintainer

description         GPS log file viewer and analyzer
long_description    GPXSee is a Qt-based GPS log file viewer and analyzer \
                    that supports all common GPS log file formats.

homepage            https://www.gpxsee.org/

patchfiles          patch-src_GUI_app_cpp.diff

qt6.depends_lib    qtlocation qtmultimedia qt5compat
qt6.depends_build  qttools
qt6.depends_run    qtimageformats qttranslations

compiler.cxx_standard 2011

depends_lib-append  port:zlib

post-configure {
    system -W ${worksrcpath} "${prefix}/libexec/qt6/bin/lrelease gpxsee.pro"
}

destroot {
    copy ${worksrcpath}/GPXSee.app ${destroot}${applications_dir}
}
