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

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

checksums           rmd160  f49ba08ca6fb71be76d9c3e6f3767f2e322f4c46 \
                    sha256  4b1ae41c98af7e74186fe0eeb087256b9f2df16b9a8221ef9a33b043df7e1044 \
                    size    6201597

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

qt5.depends_component           qtlocation
qt5.depends_build_component     qttools
qt5.depends_runtime_component   qtimageformats qttranslations

compiler.cxx_standard 2011

depends_lib-append  port:zlib
depends_run-append  port:QtPBFImagePlugin

post-configure {
    system -W ${worksrcpath} "${qt_lrelease_cmd} gpxsee.pro"
}

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