# -*- 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/cashapp/hermit 0.38.1 v
go.offline_build    no
revision            0

homepage            https://cashapp.github.io/hermit

description         Hermit manages isolated, self-bootstrapping sets of tools \
                    in software projects.

long_description    {*}${description} Hermit installs tools for software \
                    projects in self-contained, isolated sets, so your team, \
                    your contributors, and your CI have the same consistent \
                    tooling.

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

checksums           rmd160  221bf47891d3c090fd0fa3014be89952e5cf5ee2 \
                    sha256  10c8f5c912988b74c5d7149e98e6d868889fe8be863ae9f5e0c7fed0a25c9f8f \
                    size    1166449

build.cmd           make
build.pre_args-append \
                    CHANNEL=stable VERSION=${github.tag_prefix}${version}
build.args          build

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