git: 7be4d1b10f31 - main - www/py-channels: Add DAPHNE option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 02 Dec 2025 12:20:28 UTC
The branch main has been updated by sunpoet:

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

commit 7be4d1b10f31a95e1f574102bada87d3fa54a39b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-02 12:09:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-02 12:09:23 +0000

    www/py-channels: Add DAPHNE option
---
 www/py-channels/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/www/py-channels/Makefile b/www/py-channels/Makefile
index 3c66d14d6d1d..a695fc3dc21f 100644
--- a/www/py-channels/Makefile
+++ b/www/py-channels/Makefile
@@ -22,4 +22,9 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	DAPHNE
+DAPHNE_DESC=	Django ASGI support via daphne
+
+DAPHNE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}daphne>=4.0.0:www/py-daphne@${PY_FLAVOR}
+
 .include <bsd.port.mk>