# -*- 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.17.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  ecdd06654341471af510daeea3f35d431a538c21 \
                    sha256  19e88bc482df79ee5d4c95334fddac0db8ba5b02403ac76b0f9b668c6c23dd88 \
                    size    32994

depends_build-append \
                    port:golangci-lint

use_parallel_build  no

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

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