summaryrefslogtreecommitdiff
path: root/sysutils/k9s/Makefile
blob: 2b4a19b88f277a644d7a76fd978159a798390252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PORTNAME=	k9s
DISTVERSIONPREFIX=	v
DISTVERSION=	0.27.3
CATEGORIES=	sysutils

MAINTAINER=	gogolok@gmail.com
COMMENT=	Kubernetes command-line tool
WWW=		https://github.com/derailed/k9s

LICENSE=	APACHE20

USES=		go:modules

GO_MODULE=	github.com/derailed/k9s
GO_BUILDFLAGS=	-ldflags="-X github.com/derailed/k9s/cmd.version=${PORTVERSION} \
		-X github.com/derailed/k9s/cmd.date=$$(date +'%Y-%m-%dT%H:%M:%SZ') \
		-X github.com/derailed/k9s/cmd.commit="""

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>