git: bf8338b77fa9 - main - net-mgmt/icingaweb2: add SHEBANG fix for bin/icingacli

From: Dan Langille <dvl_at_FreeBSD.org>
Date: Tue, 14 Feb 2023 20:48:41 UTC
The branch main has been updated by dvl:

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

commit bf8338b77fa98dbb1cfe87da864e2af994ef1ace
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2023-02-14 20:47:16 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2023-02-14 20:48:38 +0000

    net-mgmt/icingaweb2: add SHEBANG fix for bin/icingacli
    
    PR:             269558
    Approved by:    maintainer (via private email)
---
 net-mgmt/icingaweb2/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/icingaweb2/Makefile b/net-mgmt/icingaweb2/Makefile
index b3535744898a..26e5bdd7ebb0 100644
--- a/net-mgmt/icingaweb2/Makefile
+++ b/net-mgmt/icingaweb2/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	icingaweb2
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.11.4
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
 PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
@@ -15,7 +16,7 @@ RUN_DEPENDS=	icinga-php-library${PHP_PKGNAMESUFFIX}>=0.10.0:net-mgmt/icinga-php-
 		icinga-php-thirdparty${PHP_PKGNAMESUFFIX}>=0.11.0:net-mgmt/icinga-php-thirdparty@${PHP_FLAVOR} \
 		icingaweb2-module-incubator${PHP_PKGNAMESUFFIX}>=0.18.0:net-mgmt/icingaweb2-module-incubator@${PHP_FLAVOR}
 
-USES=		php:build,web,flavors
+USES=		php:build,web,flavors shebangfix
 USE_PHP=	bcmath bitset ctype curl dom gd gettext hash iconv json ldap \
 		mbstring mcrypt memcache memcached opcache openssl pcre pdo \
 		pdo_sqlite posix session simplexml soap sockets sqlite3 xml \
@@ -29,6 +30,8 @@ NO_ARCH=	yes
 
 CONFLICTS_INSTALL=	icingaweb2-php* # bin/icingacli
 
+SHEBANG_FILES=	bin/icingacli
+
 SUB_FILES=	pkg-message
 SUB_LIST=	ETCDIR=${ETCDIR} \
 		EXAMPLESDIR=${EXAMPLESDIR} \