# -*- 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/sinclairtarget/git-who 0.7 v
revision            0

description         Git blame for file trees

long_description    \
    Unlike git blame, which can tell you who wrote a line of code, ${name} \
    tells you the people responsible for entire components or subsystems in a \
    codebase. You can think of git-who sort of like git blame but for file \
    trees rather than individual files.

categories          devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

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

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

checksums           ${distname}${extract.suffix} \
                        rmd160  55c9a0108b7eafebd3ae874a7908bc19940d9d4f \
                        sha256  457a31f9421053cec30c26305badc9288f1645f0ca46829e00c3b3574297ee59 \
                        size    555413

go.vendors          golang.org/x/term \
                        lock    v0.28.0 \
                        rmd160  cd7af073d9e5d2d785046fee580a49906f74f36a \
                        sha256  3afcf4baef57b227ddd579fe2d45cac4cc48e5d89d89bdd9b5e9a32955882671 \
                        size    14692 \
                    golang.org/x/sys \
                        lock    v0.29.0 \
                        rmd160  0e6e5b718d234eea0fe889a67ce06d5ecd1be27d \
                        sha256  ec9757aa9994bbc9a94472b49e3258eb2384d5c0c1c5e70c0bb945643fcba0f8 \
                        size    1520458 \
                    github.com/rivo/uniseg \
                        lock    v0.2.0 \
                        rmd160  33577def583aa2db50b69ca601e5d29ab201ebc4 \
                        sha256  2832965221246272462a03ffc8e159c94d8f534827f660f1ac4fc77e5ccd644c \
                        size    44037 \
                    github.com/mattn/go-runewidth \
                        lock    v0.0.16 \
                        rmd160  297825c4365b5f723ae485e726259ebb620ecd66 \
                        sha256  6c9e81a6b46220612b97ebc35e8d29d1907fd225a9ce3e40b7cebd64cc58d09c \
                        size    18496 \
                    github.com/google/go-cmp \
                        lock    v0.6.0 \
                        rmd160  2c9f5dab93f8a0895591466fe4a07c5dd9166ae2 \
                        sha256  0d550825fae514f8a947ab7e42fcb874f509d9cbfa3ad2711d7570a25f31571a \
                        size    104795 \
                    github.com/bmatcuk/doublestar \
                        lock    v4.8.1 \
                        rmd160  29ddfd462ff9efc8d5c33b0cfd4ffe559775cb69 \
                        sha256  2c0c9100c54199ad63becaea9ffb4aa249d0bf555a5f9aaea791309f8eda08c9 \
                        size    27807
