# -*- 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/infracost/infracost 0.10.37 v github.tarball_from archive revision 0 homepage https://www.infracost.io description Cloud cost estimates for Terraform in your CLI long_description Infracost shows hourly and monthly cost estimates for a \ Terraform project. This helps developers, DevOps et al. \ quickly see the cost breakdown and compare different \ deployment options upfront. categories sysutils net installs_libs no license Apache-2 maintainers {gmail.com:herby.gillot @herbygillot} \ openmaintainer checksums rmd160 69e7d4aee8d7324df5182fff31b785a4150401da \ sha256 1e96a2e37548e13206acc4532e52ce0eafd9aec2f8635814706199d22778dd99 \ size 1730336 # Allow Go to fetch deps at build time go.offline_build no build.cmd make build.pre_args VERSION=v${version} build.args darwin use_parallel_build no patch { reinplace "s|CGO_ENABLED=0||g" Makefile # Fix dumb assumption both arm64 and amd64 should always be built for darwin ... if {${build_arch} eq "arm64"} { set disa "amd64" } else { set disa "arm64" } reinplace "s|env GOOS=darwin GOARCH=${disa}|#env GOOS=darwin GOARCH=${disa}|g" Makefile } destroot { xinstall -m 0755 \ ${worksrcpath}/build/${name}-darwin-${goarch} \ ${destroot}${prefix}/bin/${name} xinstall -d ${destroot}${prefix}/share/${name} copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}/ }