git: fb9c6b4fea1c - main - multimedia/zoneminder: flavorized PHP

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Wed, 07 Aug 2024 22:55:44 UTC
The branch main has been updated by vvd:

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

commit fb9c6b4fea1cb993d15f2ce8d50f2b9d3f43808e
Author:     Andreas Jobs <andreas.jobs+freebsdbugs@ruhr-uni-bochum.de>
AuthorDate: 2024-08-07 22:48:06 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-07 22:48:06 +0000

    multimedia/zoneminder: flavorized PHP
    
    Add PHP flavor to be able to use binary package of zoneminder with all
    PHP versions.
    
    PR:             280185
    Approved by:    Ivan <bsd@abinet.ru> (maintainer)
---
 multimedia/zoneminder/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/multimedia/zoneminder/Makefile b/multimedia/zoneminder/Makefile
index 69a34e271d9a..7c673b7c966e 100644
--- a/multimedia/zoneminder/Makefile
+++ b/multimedia/zoneminder/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	zoneminder
 DISTVERSION=	1.36.33
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	multimedia
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	bsd@abinet.ru
 COMMENT=	Complete security camera solution, fully web based with image analysis
@@ -35,7 +36,7 @@ RUN_DEPENDS=	${ZM_DEPENDS} \
 		p5-Data-Entropy>=0:security/p5-Data-Entropy \
 		zip:archivers/zip
 
-USES=		cmake:insource,noninja cpe jpeg mysql perl5 php shebangfix ssl
+USES=		cmake:insource,noninja cpe jpeg mysql perl5 php:flavors shebangfix ssl
 USE_GITHUB=	yes
 GH_TUPLE=	FriendsOfCake:crud:1429237:crud/web/api/app/Plugin/Crud \
 		ZoneMinder:CakePHP-Enum-Behavior:ea90c0c:crud_plugin/web/api/app/Plugin/CakePHP-Enum-Behavior \