blob: f66e389ef6a2f6c50cf184f87a792fd76e30b322 (
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
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= minikube
PORTVERSION= 1.32.0
DISTVERSIONPREFIX= v
PORTREVISION= 4
CATEGORIES= sysutils
MAINTAINER= danilo@FreeBSD.org
COMMENT= Run Kubernetes locally
WWW= https://github.com/kubernetes/minikube
LICENSE= APACHE20
BUILD_DEPENDS= go-bindata:devel/go-bindata
USES= cpe go:modules
CPE_VENDOR= kubernetes
GO_MODULE= github.com/kubernetes/${PORTNAME}
GO_TARGET= ./cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags="-X k8s.io/minikube/pkg/version.version=v${PORTVERSION} \
-X k8s.io/minikube/pkg/version.isoVersion=v1.32.1 \
-X k8s.io/minikube/pkg/version.storageProvisionerVersion=v5 \
-X k8s.io/minikube/pkg/version.isoPath=minikube/iso"
PLIST_FILES= bin/${PORTNAME}
SUB_FILES= pkg-message
pre-build:
cd ${WRKSRC} && \
${LOCALBASE}/bin/go-bindata -nomemcopy \
-o pkg/minikube/assets/assets.go -pkg assets deploy/addons/... && \
${LOCALBASE}/bin/go-bindata -nomemcopy \
-o pkg/minikube/translate/translations.go -pkg translate translations/... && \
${LOCALBASE}/bin/gofmt${GO_SUFFIX} -s -w pkg/minikube/translate/translations.go
.include <bsd.port.mk>
|