kn 4a9965f8e0 Import kubectl 1.18.3
Initial port based on the FreeBSD version from Karlis Mikelsons, thanks!
Simplifcations from me, tests with GCE from paco.
OK rsadowski paco

The Kubernetes command-line tool, kubectl, allows you to run commands
against Kubernetes clusters. You can use kubectl to deploy applications,
inspect and manage cluster resources, and view logs.
2020-06-05 13:35:10 +00:00

27 lines
572 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/06/05 13:35:10 kn Exp $
COMMENT = command line tool for controlling Kubernetes clusters
GH_ACCOUNT = kubernetes
GH_PROJECT = kubernetes
VERSION = 1.18.3
GH_TAGNAME = v${VERSION}
PKGNAME = kubectl-${VERSION}
CATEGORIES = sysutils
HOMEPAGE = https://kubernetes.io/docs/reference/kubectl/overview/
# Apache License 2.0
PERMIT_PACKAGE = Yes
WANTLIB = c pthread
MODULES = lang/go
GO_PKGNAME = k8s.io/kubernetes
WRKSRC = ${MODGO_WORKSPACE}/src/${GO_PKGNAME}
ALL_TARGET = ${GO_PKGNAME}/cmd/kubectl
.include <bsd.port.mk>