# -*- 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        BourgeoisLab GPXLab 0.7.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1
categories          gis
license             GPL-3
maintainers         {@sikmir gmail.com:sikmir} openmaintainer

description         Program to show and manipulate GPS tracks
long_description    GPXLab is an application to display and manage GPS tracks \
                    previously recorded with a GPS tracker.

checksums           rmd160  f9641281c8115c87916ecab57a02b6d6fc257d56 \
                    sha256  850f3a581bf8448efce199c0e24f8609a4c92fa304e1da579b8e8cf063544e57 \
                    size    1082125

qt5.depends_build_component     qttools
qt5.depends_runtime_component   qtimageformats qttranslations

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

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