# -*- 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/goss-org/goss 0.4.9 v
go.offline_build    no
revision            0

homepage            https://goss.rocks

description         Quick and Easy server testing/validation

long_description    \
    ${name} is a YAML based serverspec alternative tool for validating a \
    server’s configuration. It eases the process of writing tests by allowing \
    the user to generate tests from the current system state. Once the test \
    suite is written they can be executed, waited-on, or served as a health \
    endpoint.

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

checksums           rmd160  a7fd7449f836ecd0e43f65a1665f14d9c57b8f13 \
                    sha256  fa92143bdcba9e2c7ae210bc72ee15cc301092cc53ca3913f80cfab8e4585f78 \
                    size    149439

build.pre_args-append \
                    -ldflags \" \
                        -s -w -X main.version=${version} \
                    \"

build.args          ./cmd/${name}

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