blob: b77847c5201f9f32b9375874f175249844bc2746 (
plain) (
blame)
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.33.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
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:1.22,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.33.0 \
-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>
|