ports/security/tfsec/Makefile

28 lines
686 B
Makefile

COMMENT = static analyzer for Terraform
VERSION = 1.28.4
# tfsec-vendored distfile generated by fetching archive from
# https://github.com/aquasecurity/tfsec/archive/refs/tags/v${VERSION}.tar.gz
# and running "go mod tidy" + "go mod vendor"
DISTNAME = tfsec-vendored-${VERSION}
PKGNAME = tfsec-${VERSION}
SITES = https://distfiles.tristero.se/
CATEGORIES = security
HOMEPAGE = https://aquasecurity.github.io/tfsec
MAINTAINER = Pavel Korovin <pvk@openbsd.org>
WANTLIB += c pthread
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/go
WRKSRC = ${MODGO_WORKSPACE}/src/github.com/aquasecurity/tfsec
ALL_TARGET = github.com/aquasecurity/tfsec/cmd/tfsec
.include <bsd.port.mk>