freebsd-ports/net/kube-scheduler/Makefile
Jochen Neumeister 554c5ba832 Update to 1.13.3
PR:		235697
Submitted by:	loic.blot@unix-experience.fr (maintainer)
Sponsored by:	Netzkommune GmbH
2019-02-15 08:10:38 +00:00

31 lines
726 B
Makefile

# $FreeBSD$
PORTNAME= kube-scheduler
PORTVERSION= 1.13.3
DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= loic.blot@unix-experience.fr
COMMENT= Kubernetes scheduler 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-scheduler
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>