git: f0e3988df254 - main - shells/zsh-completions: Remove completion for tarsnap

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 28 Feb 2022 12:51:13 UTC
The branch main has been updated by sunpoet:

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

commit f0e3988df254379e63ec5affbe449ae2e69260fd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-02-28 09:33:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-02-28 12:46:04 +0000

    shells/zsh-completions: Remove completion for tarsnap
    
    Tarsnap now ships with a zsh completion script.
    Please use the completion from sysutils/tarsnap instead of this port.
    
    Reported by:    cperciva
---
 shells/zsh-completions/Makefile  | 4 ++++
 shells/zsh-completions/pkg-plist | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/shells/zsh-completions/Makefile b/shells/zsh-completions/Makefile
index 085850cd978f..982feac877b0 100644
--- a/shells/zsh-completions/Makefile
+++ b/shells/zsh-completions/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	zsh-completions
 PORTVERSION=	0.33.0
+PORTREVISION=	1
 CATEGORIES=	shells
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -18,6 +19,9 @@ NO_BUILD=	yes
 GH_ACCOUNT=	zsh-users
 USE_GITHUB=	yes
 
+post-patch:
+	@${RM} ${WRKSRC}/src/_tarsnap
+
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
 	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
diff --git a/shells/zsh-completions/pkg-plist b/shells/zsh-completions/pkg-plist
index 2047b8d7844c..0ea2c4eaa202 100644
--- a/shells/zsh-completions/pkg-plist
+++ b/shells/zsh-completions/pkg-plist
@@ -119,7 +119,6 @@ share/zsh/site-functions/_subl
 share/zsh/site-functions/_subliminal
 share/zsh/site-functions/_supervisorctl
 share/zsh/site-functions/_svm
-share/zsh/site-functions/_tarsnap
 share/zsh/site-functions/_teamocil
 share/zsh/site-functions/_thor
 share/zsh/site-functions/_tmuxinator