summaryrefslogtreecommitdiff
path: root/security/tfsec/Makefile
blob: 0cedd9187e47296e7d90fcbc6ed67cf3ccb30f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORTNAME=	tfsec
DISTVERSIONPREFIX=	v
DISTVERSION=	1.28.5
PORTREVISION=	4
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: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>