# -*- 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/daveshanley/vacuum 0.13.5 v
go.offline_build    no
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision            0

homepage            https://quobix.com/vacuum

description         \
    ${name} is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and \
    quality analysis tool.

long_description    \
    {*}${description} Built in Go, it tears through API specs faster than you \
    can think. ${name} is compatible with Spectral rulesets and generates \
    compatible reports.

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

checksums           rmd160  5a309f63d2949f8f7fbb2caea684a5ed060c680a \
                    sha256  058d23a69d7781ac935b18536b1c4bf37770dc70517c3670d52dcc0f94fe9a5c \
                    size    2623983

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

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