freebsd-ports/sysutils/kops/Makefile
Danilo Egea Gondolfo 2439535f80 - Update to 1.11.1
2019-03-02 16:01:57 +00:00

32 lines
637 B
Makefile

# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
# $FreeBSD$
PORTNAME= kops
PORTVERSION= 1.11.1
CATEGORIES= sysutils
MAINTAINER= danilo@FreeBSD.org
COMMENT= Kubernetes Operations
LICENSE= APACHE20
BUILD_DEPENDS= go-bindata:devel/go-bindata
USES= go
USE_GITHUB= yes
GH_ACCOUNT= kubernetes
GO_PKGNAME= k8s.io/${PORTNAME}
GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags=all="-X k8s.io/kops.Version=${PORTVERSION}"
PLIST_FILES= bin/${PORTNAME}
pre-build:
cd ${WRKSRC} && \
${LOCALBASE}/bin/go-bindata -o upup/models/bindata.go -pkg models \
-prefix upup/models/ upup/models/...
.include <bsd.port.mk>