forked from Lainports/freebsd-ports
22 lines
446 B
Makefile
22 lines
446 B
Makefile
PORTNAME= tfsec
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.28.11
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= dutra@FreeBSD.org
|
|
COMMENT= Security scanner for Terraform
|
|
WWW= https://aquasecurity.github.io/tfsec
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go:1.22,modules
|
|
|
|
GO_MODULE= github.com/aquasecurity/tfsec
|
|
GO_TARGET= ./cmd/${PORTNAME}
|
|
|
|
GO_BUILDFLAGS= -ldflags="version.Version=${DISTVERSION}"
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|