git: 632fb5c7b9e7 - main - net-mgmt/zabbix4-server: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 23 Aug 2023 04:37:57 UTC
The branch main has been updated by bofh:

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

commit 632fb5c7b9e7b13ddc98d58315c05e38882ee5cd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-21 03:58:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-23 04:37:48 +0000

    net-mgmt/zabbix4-server: Mark DEPRECATED
    
    - Upstream EOL reaches on 2023-10-31. See:
      https://www.zabbix.com/life_cycle_and_release_policy
    - Set EXPIRATION_DATE 2023-12-31
    - Utilize USES=localbase
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/zabbix4-server/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/zabbix4-server/Makefile b/net-mgmt/zabbix4-server/Makefile
index d7087d3fa621..a7e2ed6eadfc 100644
--- a/net-mgmt/zabbix4-server/Makefile
+++ b/net-mgmt/zabbix4-server/Makefile
@@ -13,6 +13,9 @@ WWW=		https://www.zabbix.com/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=	Upstream EOL reaches on 2023-10-31
+EXPIRATION_DATE=	2023-12-31
+
 LIB_DEPENDS=	libpcre.so:devel/pcre
 
 CONFLICTS_INSTALL=	zabbix[0-35-9]${PKGNAMESUFFIX} \
@@ -60,7 +63,7 @@ CONFIGURE_ARGS+=	--datadir=${ETCDIR} \
 .if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java"
 LIB_DEPENDS+=	libnetsnmp.so:net-mgmt/net-snmp
 
-CPPFLAGS+=	-I${LOCALBASE}/include
+USES+=	localbase
 
 SUB_FILES=	pkg-message