# -*- 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.1 v
go.offline_build    no
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  b49419cc2f4232cf2432c83f4e5daefaff9714ef \
                    sha256  546859a5e35242e31053a9784084e9350d6ceed62b580ed662a8ab385acac76c \
                    size    17369217

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

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