# -*- 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/github/git-sizer 1.5.0 v
go.offline_build        no
revision                0

categories              devel
installs_libs           no
license                 MIT
maintainers             {@gerardsoleca gmail.com:g.sole.ca} openmaintainer

description             Compute various size metrics for a Git repository, \
                        flagging those that might cause problems
long_description        {*}${description} having repositories too big \
                        (> 5GB), keep many branches or tags, including \
                        gigantic blob files, storing large text files with \
                        many changes, repeated files across paths, detect \
                        long path names inside the repository, ...

checksums               rmd160  85d114ed1efabdf596de338d6aea177c49a552f4 \
                        sha256  07a5ac5f30401a17d164a6be8d52d3d474ee9c3fb7f60fd83a617af9f7e902bb \
                        size    78904

build.args              -ldflags '-X main.ReleaseVersion=${version}'

destroot {
    xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
}
