git: be29f8c336c8 - main - net-mgmt/zabbix6-server: Add PORTSCOUT

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Wed, 14 Sep 2022 06:17:15 UTC
The branch main has been updated by otis:

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

commit be29f8c336c8ab0f53841935f212f73e8952b469
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2022-09-13 20:15:59 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2022-09-14 06:16:58 +0000

    net-mgmt/zabbix6-server: Add PORTSCOUT
    
    And while here, also fix conflict with zabix62 (and future zabbix64)
    components.
---
 net-mgmt/zabbix6-server/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/zabbix6-server/Makefile b/net-mgmt/zabbix6-server/Makefile
index 5e8baca07672..9c12ba66a8ea 100644
--- a/net-mgmt/zabbix6-server/Makefile
+++ b/net-mgmt/zabbix6-server/Makefile
@@ -15,7 +15,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libpcre.so:devel/pcre
 
 CONFLICTS_INSTALL=	zabbix5[0-9]${PKGNAMESUFFIX} \
-		zabbix[0-57-9]${PKGNAMESUFFIX}
+		zabbix[0-57-9]${PKGNAMESUFFIX} \
+		${PORTNAME}[0-9]${PKGNAMESUFFIX}
 
 ZABBIX_BUILD=	${PKGNAMESUFFIX:S/^-//:S/-$//}
 
@@ -62,6 +63,8 @@ LIB_DEPENDS+=	libnetsnmp.so:net-mgmt/net-snmp
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 
+PORTSCOUT=	limit:^6\.0\.
+
 SUB_FILES=	pkg-message
 
 CONFIGURE_ARGS+=	--with-net-snmp