# -*- 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.1.0 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  d409d336fbcbd1b07fed6210da06c97c19c7c96c \
                    sha256  1c9bf93f9ba1a647ce9f32f04460d5ce12bbfee0ef1d1ed026d557f3dddbed5c \
                    size    17497416

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

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