Files
ports/security/aws-iam-authenticator/Makefile
T
2026-07-10 09:54:15 +02:00

25 lines
623 B
Makefile

PORTNAME= aws-iam-authenticator
PORTVERSION= 0.7.15
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= danilo@FreeBSD.org
COMMENT= Use AWS IAM credentials to authenticate to a Kubernetes cluster
WWW= https://github.com/kubernetes-sigs/aws-iam-authenticator
LICENSE= APACHE20
USES= go:1.26+,modules
# Exit "workspace mode" so "go mod vendor" can be used
MAKE_ENV= GOWORK=off
GO_MODULE= github.com/kubernetes-sigs/${PORTNAME}
GO_TARGET= ./cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags="-X sigs.k8s.io/aws-iam-authenticator/pkg.Version=${PORTVERSION}"
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>