blob: 9e7ebc1bae5b93151bbda5f4c820ee113c9bf860 (
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
39
40
41
42
43
44
|
PORTNAME= helm
PORTVERSION= 3.14.3
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= danilo@FreeBSD.org
COMMENT= Kubernetes Package Manager
WWW= https://helm.sh
LICENSE= APACHE20
RUN_DEPENDS= kubectl:sysutils/kubectl
USES= cpe go:modules tar:xz
GO_MODULE= github.com/${PORTNAME}/${PORTNAME}/v3
GO_PKGNAME= k8s.io/helm
GO_BUILDFLAGS= -ldflags="-X helm.sh/helm/v3/internal/version.version=v${PORTVERSION} \
-X helm.sh/helm/v3/internal/version.gitCommit=f03cc04caaa8f6d7c3e67cf918929150cf6f3f12"
GO_TARGET= ./cmd/${PORTNAME}
PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/}
OPTIONS_DEFINE= BASH FISH ZSH
OPTIONS_DEFAULT= BASH FISH ZSH
BASH_PLIST_FILES= share/bash-completion/completions/helm
FISH_PLIST_FILES= share/fish/vendor_functions.d/helm.fish
ZSH_PLIST_FILES= share/zsh/site-functions/_helm
post-install-BASH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
${STAGEDIR}${PREFIX}/bin/helm completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/helm
post-install-FISH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d
${STAGEDIR}${PREFIX}/bin/helm completion fish > ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d/helm.fish
post-install-ZSH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${STAGEDIR}${PREFIX}/bin/helm completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_helm
.include <bsd.port.mk>
|