summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/google-cloud-sdk/Makefile18
-rw-r--r--net/google-cloud-sdk/distinfo6
-rw-r--r--net/google-cloud-sdk/files/pkg-message.in10
3 files changed, 15 insertions, 19 deletions
diff --git a/net/google-cloud-sdk/Makefile b/net/google-cloud-sdk/Makefile
index eb9a7631fb6d..b85d1d3f5e9c 100644
--- a/net/google-cloud-sdk/Makefile
+++ b/net/google-cloud-sdk/Makefile
@@ -1,5 +1,5 @@
PORTNAME= google-cloud-sdk
-DISTVERSION= 463.0.0
+DISTVERSION= 464.0.0
CATEGORIES= net
MASTER_SITES= https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/
DISTNAME= google-cloud-sdk-${PORTVERSION}-linux-x86_64
@@ -25,11 +25,7 @@ PLIST_FILES= bin/bq \
bin/git-credential-gcloud.sh \
bin/gsutil
-OPTIONS_DEFINE= BASH ZSH
-OPTIONS_DEFAULT= BASH ZSH
-
-BASH_PLIST_FILES= share/bash-completion/completions/gcloud
-ZSH_PLIST_FILES= share/zsh/site-functions/_gcloud
+SUB_FILES= pkg-message
post-extract:
@${RM} -r \
@@ -57,14 +53,4 @@ post-install:
@(cd ${STAGEDIR}${PREFIX} && \
${FIND} -s google-cloud-sdk -type f -o -type l >> ${TMPPLIST})
-post-install-BASH-on:
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
- ${RLN} ${STAGEDIR}${PREFIX}/google-cloud-sdk/completion.bash.inc \
- ${STAGEDIR}${PREFIX}/share/bash-completion/completions/gcloud
-
-post-install-ZSH-on:
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
- ${RLN} ${STAGEDIR}${PREFIX}/google-cloud-sdk/completion.zsh.inc \
- ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_gcloud
-
.include <bsd.port.mk>
diff --git a/net/google-cloud-sdk/distinfo b/net/google-cloud-sdk/distinfo
index c6a716660d66..5d980d64d1ae 100644
--- a/net/google-cloud-sdk/distinfo
+++ b/net/google-cloud-sdk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707343058
-SHA256 (google-cloud-sdk-463.0.0-linux-x86_64.tar.gz) = e1ce160032d18a14be36da2409a52e4835d0a42d26855e81b0a48160e7c27003
-SIZE (google-cloud-sdk-463.0.0-linux-x86_64.tar.gz) = 205433257
+TIMESTAMP = 1707889617
+SHA256 (google-cloud-sdk-464.0.0-linux-x86_64.tar.gz) = 3547e036057ff6d4f5685e10afe40a926e73b7834794b91b2b3a8d1c5ba873dc
+SIZE (google-cloud-sdk-464.0.0-linux-x86_64.tar.gz) = 205460860
diff --git a/net/google-cloud-sdk/files/pkg-message.in b/net/google-cloud-sdk/files/pkg-message.in
new file mode 100644
index 000000000000..6b59641a21c8
--- /dev/null
+++ b/net/google-cloud-sdk/files/pkg-message.in
@@ -0,0 +1,10 @@
+[
+{ type: install
+ message: <<EOM
+Add the following line based on preferred shell for auto-completion:
+
+(bashrc) source %%PREFIX%%/google-cloud-sdk/completion.bash.inc
+(zshrc) source %%PREFIX%%/google-cloud-sdk/completion.zsh.inc
+EOM
+}
+]