git: 8fa6a1896df6 - main - shells/bash-completion: Remove completion for makepkg

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 08:16:47 UTC
The branch main has been updated by sunpoet:

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

commit 8fa6a1896df671cf57883468527f423d9ca374fc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:11:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:11:31 +0000

    shells/bash-completion: Remove completion for makepkg
    
    - Bump PORTREVISION for package change
    
    Reported by:    vishwin
    Differential Revision:  https://reviews.freebsd.org/D33679
---
 shells/bash-completion/Makefile  | 3 ++-
 shells/bash-completion/pkg-plist | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index c059f5c0ae9d..dba7ded54bee 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bash-completion
 PORTVERSION=	2.11
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	2
 CATEGORIES=	shells
 
@@ -62,6 +62,7 @@ post-configure:
 
 post-install:
 	cd ${WRKSRC}/freebsd/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
+	${RM} ${STAGEDIR}${DATADIR}/completions/makepkg
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
diff --git a/shells/bash-completion/pkg-plist b/shells/bash-completion/pkg-plist
index 1ef18cb72706..47452b353f3c 100644
--- a/shells/bash-completion/pkg-plist
+++ b/shells/bash-completion/pkg-plist
@@ -408,7 +408,6 @@ libdata/pkgconfig/bash-completion.pc
 %%DATADIR%%/completions/mailmanctl
 %%DATADIR%%/completions/mailsnarf
 %%DATADIR%%/completions/make
-%%DATADIR%%/completions/makepkg
 %%DATADIR%%/completions/man
 %%DATADIR%%/completions/mc
 %%DATADIR%%/completions/mcrypt