# -*- 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/prometheus/promu 0.21.0 v
revision            0

description         The Prometheus Utility Tool

long_description    A utility tool for building and releasing Prometheus \
                    projects.

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

checksums           rmd160  2f87f016aa7f4acce1f3edde33f92500f64d40b2 \
                    sha256  f288090e4f702443e38bc21c93a8a92f801c72a034f65175fc2ee838506975f2 \
                    size    36946

depends_build-append \
                    port:golangci-lint

use_parallel_build  no

go.offline_build    no
go.toolchain_min    1.26.0
build.cmd           make
build.args          build

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