aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-12-02 12:09:23 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-12-02 12:09:23 +0000
commit7be4d1b10f31a95e1f574102bada87d3fa54a39b (patch)
tree445a74e8892ba579622340230dd4b549d245e609
parent5ec7520d7d465923770bc07accce25c90673eb57 (diff)
www/py-channels: Add DAPHNE option
-rw-r--r--www/py-channels/Makefile5
1 files changed, 5 insertions, 0 deletions
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>