summaryrefslogtreecommitdiff
path: root/net/kube-controller-manager/Makefile
blob: ce8078422451f39e7096f9e0fcff105cbbf8d9c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	kube-controller-manager
PORTVERSION=	1.13.3
DISTVERSIONPREFIX=	v
CATEGORIES=	net

MAINTAINER=	loic.blot@unix-experience.fr
COMMENT=	Kubernetes controller manager daemon

LICENSE=	APACHE20

USES=		go

USE_GITHUB=	yes
GH_ACCOUNT=	kubernetes
GH_PROJECT=	kubernetes

BUILD_DATE=	2019-01-30T00:00:00Z

GO_PKGNAME=	k8s.io/kubernetes
GO_TARGET=	${GO_PKGNAME}/cmd/kube-controller-manager
GO_BUILDFLAGS=	-ldflags="-X k8s.io/kubernetes/pkg/version.gitMajor=${PORTVERSION:R:R} \
		-X k8s.io/kubernetes/pkg/version.gitMinor=${PORTVERSION:R:E} \
		-X k8s.io/kubernetes/pkg/version.buildDate=${BUILD_DATE} \
		-X k8s.io/kubernetes/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}"

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>