# -*- 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.39 v go.offline_build no 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 8d6700eee6793aa54236d557e508e8143c20c036 \ sha256 9d32bdbc0fee88d327046cbd39c3fd8f2991a06f571b1f416d429849f5dfc985 \ size 1765244 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}/ }