diff options
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/infracost/Makefile | 25 | ||||
-rw-r--r-- | sysutils/infracost/distinfo | 5 | ||||
-rw-r--r-- | sysutils/infracost/pkg-descr | 3 |
4 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 263fc70cc382..41eabf996316 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -580,6 +580,7 @@ SUBDIR += imgurbash2 SUBDIR += immortal SUBDIR += incron + SUBDIR += infracost SUBDIR += initool SUBDIR += inotify-tools SUBDIR += installwatch diff --git a/sysutils/infracost/Makefile b/sysutils/infracost/Makefile new file mode 100644 index 000000000000..6e2a8f120b14 --- /dev/null +++ b/sysutils/infracost/Makefile @@ -0,0 +1,25 @@ +PORTNAME= infracost +DISTVERSIONPREFIX= v +DISTVERSION= 0.10.37 +CATEGORIES= sysutils + +MAINTAINER= dutra@FreeBSD.org +COMMENT= Cloud cost estimates for Terraform +WWW= https://github.com/infracost/infracos + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= terraform:sysutils/terraform \ + terragrunt:sysutils/terragrunt + +USES= go:1.22,modules + +GO_MODULE= github.com/${PORTNAME}/${PORTNAME} + +GO_BUILDFLAGS= -ldflags="-X github.com/infracost/infracost/internal/version.Version=v${PORTVERSION}" +GO_TARGET= ./cmd/${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/sysutils/infracost/distinfo b/sysutils/infracost/distinfo new file mode 100644 index 000000000000..c38648db9b88 --- /dev/null +++ b/sysutils/infracost/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1718858119 +SHA256 (go/sysutils_infracost/infracost-v0.10.37/v0.10.37.mod) = 2493b1f3eb6e9a748ccebc6695142cb3aa4a9fcb2b1749f69b992d2575832e58 +SIZE (go/sysutils_infracost/infracost-v0.10.37/v0.10.37.mod) = 13271 +SHA256 (go/sysutils_infracost/infracost-v0.10.37/v0.10.37.zip) = cca5960fdee886aed27aa334e717e7d213bc51c3e9300f9b1094bb8e572494e6 +SIZE (go/sysutils_infracost/infracost-v0.10.37/v0.10.37.zip) = 3475145 diff --git a/sysutils/infracost/pkg-descr b/sysutils/infracost/pkg-descr new file mode 100644 index 000000000000..0532c3115a19 --- /dev/null +++ b/sysutils/infracost/pkg-descr @@ -0,0 +1,3 @@ +Infracost shows cloud cost estimates and FinOps best practices +for Terraform. It lets engineers see a cost breakdown and understand +costs before making changes. |