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

go.setup            github.com/mrusme/zeit 1.0.2 v
go.offline_build    no
go.toolchain_min    1.25.1
revision            0

homepage            \
    https://xn--gckvb8fzb.com/zeit-erfassen-a-cli-activity-time-tracker/

description         \
    Zeit, erfassen. A command line tool for tracking time spent on activities.

long_description    {*}${description}

categories          office
installs_libs       no
license             GPL-3
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  f060700888f8eeabd7f4c5de85e02a147c1c540e \
                    sha256  3b5697384769055bdb76a79ac4e43f03cef31f1df4b110d027fef1e22928b31e \
                    size    17492264

build.pre_args-append \
    -ldflags \" -X ${go.package}/z.VERSION=${version} \"

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
