git: 10f56fc1d9f9 - main - www/py-dj52-channels: Add DAPHNE option

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

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

commit 10f56fc1d9f95daf24f2fc43d68557129f8a4de0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-02 12:09:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-02 12:09:27 +0000

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

diff --git a/www/py-dj52-channels/Makefile b/www/py-dj52-channels/Makefile
index c81621a616a7..541aee39f4fa 100644
--- a/www/py-dj52-channels/Makefile
+++ b/www/py-dj52-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>