# -*- 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/outagedeck/cli 0.1.1 v
name                outagedeck
go.toolchain_min    1.22
revision            0

categories          sysutils net
license             MIT
maintainers         {@koko3tallah} openmaintainer
installs_libs       no

description         Check cloud and SaaS provider status from the command line

long_description    OutageDeck is a command-line client for checking current \
                    cloud and SaaS provider status, searching incidents, and \
                    inspecting service-level health from normalized official \
                    status feeds. Public checks do not require an API key.

homepage            https://outagedeck.com

checksums           rmd160  14b1514cfd47dfe6b37bb9bf65923dfdbda01eae \
                    sha256  67c4d6c12921e8e5aad09fc43e8d506c2d53162ba3e573e9f8a5102b3d22f282 \
                    size    118349

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

test.run            yes
test.target         ./...

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