# -*- 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/snyk/driftctl 0.40.0 v github.tarball_from archive revision 0 homepage https://driftctl.com description Detect, track and alert on infrastructure drift long_description {*}${description}. Measures infrastructure as code \ coverage, and tracks infrastructure drift. categories sysutils installs_libs no license Apache-2 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 de440c96d9729fce4307c8dbbe579974418beeab \ sha256 30781d35092dd1dd1b34f22e63e3130a062cf4a3f511f61be013a0ff2a0c7767 \ size 1864461 # Allow fetching dependencies at build time go.offline_build no build.env-append OS_ARCH=${os.platform}/${goarch} build.cmd "${go.bin} generate ./... && ${go.bin} build" build.pre_args-append \ -ldflags \" \ -X ${go.package}/pkg/version.version=${github.tag_prefix}${version} \ -X ${go.package}/build.env=release \ \" destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ }