git: f0fa9c2f7418 - main - finance/ticker: update to 4.5.1

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 09 Mar 2022 13:12:56 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0fa9c2f74188385f67558df140c82c049864bc3

commit f0fa9c2f74188385f67558df140c82c049864bc3
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-03-09 07:07:02 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-03-09 13:11:07 +0000

    finance/ticker: update to 4.5.1
    
    ChangeLog: https://github.com/achannarasappa/ticker/releases/tag/v4.5.1
    
    PR:     262342
    Reported by:    fuz@fuz.su (maintainer)
---
 finance/ticker/Makefile | 20 ++++++++++++++++++--
 finance/ticker/distinfo |  6 +++---
 2 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/finance/ticker/Makefile b/finance/ticker/Makefile
index c8e98989685b..c2b2d3f5c064 100644
--- a/finance/ticker/Makefile
+++ b/finance/ticker/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ticker
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.5.0
+DISTVERSION=	4.5.1
 CATEGORIES=	finance
 
 MAINTAINER=	fuz@fuz.su
@@ -57,7 +57,10 @@ GH_TUPLE=	acarl005:stripansi:5a71ef0e047d:acarl005_stripansi/vendor/github.com/a
 
 GO_BUILDFLAGS=	-ldflags="-X github.com/achannarasappa/ticker/cmd.Version=${DISTVERSIONPREFIX}${PKGVERSION}"
 
-PLIST_FILES=	bin/ticker
+PLIST_FILES=	bin/ticker \
+		etc/bash_completion.d/ticker \
+		share/fish/vendor_completions.d/ticker.fish \
+		share/zsh/site_functions/_ticker
 PORTDOCS=	README.md \
 		docs/debug-guide.md \
 		docs/ticker-all-options.png \
@@ -66,9 +69,22 @@ PORTDOCS=	README.md \
 OPTIONS_DEFINE=	DOCS
 
 do-install-DOCS-on:
+	@${ECHO_MSG} "====> Installing documentation"
 .for doc in ${PORTDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/${doc:H}
 	${INSTALL_MAN} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/${doc:H}/
 .endfor
 
+post-install:
+	@${ECHO_MSG} "====> Installing shell completion files"
+		${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+	${GO_WRKDIR_BIN}/ticker completion bash \
+	    >${STAGEDIR}${PREFIX}/etc/bash_completion.d/ticker
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d
+	${GO_WRKDIR_BIN}/ticker completion fish \
+	    >${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ticker.fish
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site_functions
+	${GO_WRKDIR_BIN}/ticker completion zsh \
+	    >${STAGEDIR}${PREFIX}/share/zsh/site_functions/_ticker
+
 .include <bsd.port.mk>
diff --git a/finance/ticker/distinfo b/finance/ticker/distinfo
index 858d85032041..0daf2d9875bd 100644
--- a/finance/ticker/distinfo
+++ b/finance/ticker/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1645486797
-SHA256 (achannarasappa-ticker-v4.5.0_GH0.tar.gz) = a1f0a8987c4298e6d0549f766cd2d610db1951f70b137a819f6a89a692aafbc8
-SIZE (achannarasappa-ticker-v4.5.0_GH0.tar.gz) = 177092
+TIMESTAMP = 1646408204
+SHA256 (achannarasappa-ticker-v4.5.1_GH0.tar.gz) = 0c5d510ab68448c4244ab5c32f20aaeb6f5ccac5252de1426bfaa88e56716407
+SIZE (achannarasappa-ticker-v4.5.1_GH0.tar.gz) = 177089
 SHA256 (acarl005-stripansi-5a71ef0e047d_GH0.tar.gz) = 832ad7232c573cec3eece91af4cdf40d2d06bca94e026dd7d5add0f44f802f0f
 SIZE (acarl005-stripansi-5a71ef0e047d_GH0.tar.gz) = 1477
 SHA256 (achannarasappa-term-grid-v0.2.4_GH0.tar.gz) = 070d929e63198806514364e5e8db90be412516fa4912fcd8a657d3f2a4e87ae8