# -*- 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/git-bug/git-bug 0.11.0 v
go.offline_build        no
go.toolchain_min        1.26
revision                0

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

description             Distributed, offline-first bug tracker integrated in git

long_description        {*}${description}. git-bug stores issues, comments \
                        and identities directly in git objects alongside \
                        your code, so a normal git remote is all that is \
                        needed to push, pull and collaborate on bugs, even \
                        offline. It can be used from the command line, an \
                        interactive terminal UI, or a local web UI, and can \
                        import from and export to GitHub, GitLab, Jira and \
                        Launchpad.

checksums               rmd160  4f5a2463fbe080a4724b77f057375ba9cdce19b8 \
                        sha256  31ae65e733e31fbf37ecea8f31966fe46cbeb1657a144876c855d5cf09cffb69 \
                        size    2404873

depends_run             bin:git:git

build.args-append       -ldflags \"-s -w -X main.version=v${version}\"

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