git: 6d2af9e3f07a - main - sysutils/nut*: Remove bash_completion dependency

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sat, 22 Oct 2022 17:18:22 UTC
The branch main has been updated by cy:

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

commit 6d2af9e3f07a2473b50b02388a58708ad5015cf5
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-10-20 06:16:36 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-10-22 16:58:46 +0000

    sysutils/nut*: Remove bash_completion dependency
    
    Even though bash completion scripts are installed, bash_completion
    need not be installed, reducing the port and package footprint.
    Should a person actually need bash_completion, it can be installed
    separately by the user.
    
    PR:             267214
    Reported by:    Mel Pilgrim <ports.maintainer@evilphi.com>
    MFH:            2022Q4
---
 sysutils/nut-devel/Makefile | 4 +---
 sysutils/nut/Makefile       | 5 +----
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index e1c851e56354..7204dc7de13e 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nut
 PORTVERSION=	${NUT_COMMIT_DATE}
+PORTREVISION=	1
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	-devel
 # MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
@@ -113,9 +114,6 @@ PDU_CONFIGURE_WITH=	powerman
 MODBUS_LIB_DEPENDS=	libmodbus.so:comms/libmodbus
 MODBUS_CONFIGURE_WITH=	modbus
 
-BASH_BUILD_DEPENDS=	${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion
-BASH_RUN_DEPENDS=	${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion
-
 AVAHI_BUILD_DEPENDS=	${LOCALBASE}/include/avahi-ui/avahi-ui.h:net/avahi-header
 AVAHI_BUILD_DEPENDS=	avahi-daemon:net/avahi-app
 AVAHI_RUN_DEPENDS=	avahi-daemon:net/avahi-app
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 5043e65fdec2..7d3aecc8b8d4 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nut
 PORTVERSION=	2.8.0
-PORTREVISION=	12
+PORTREVISION=	13
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
 
@@ -95,9 +95,6 @@ PDU_CONFIGURE_WITH=	powerman
 MODBUS_LIB_DEPENDS+=	libmodbus.so:comms/libmodbus
 MODBUS_CONFIGURE_WITH=	modbus
 
-BASH_BUILD_DEPENDS=	${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion
-BASH_RUN_DEPENDS=	${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion
-
 AVAHI_BUILD_DEPENDS=	${LOCALBASE}/include/avahi-ui/avahi-ui.h:net/avahi-header
 AVAHI_BUILD_DEPENDS=	avahi-daemon:net/avahi-app
 AVAHI_RUN_DEPENDS=	avahi-daemon:net/avahi-app