git: b27764ba4f5a - main - devel/py-pylint-django: Add DJANGO option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 22 Oct 2024 09:56:44 UTC
The branch main has been updated by sunpoet:

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

commit b27764ba4f5aedfc404e82b148cf52157a59b045
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-22 09:48:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-22 09:48:44 +0000

    devel/py-pylint-django: Add DJANGO option
---
 devel/py-pylint-django/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/py-pylint-django/Makefile b/devel/py-pylint-django/Makefile
index 268ecf720f9a..78b66753ae53 100644
--- a/devel/py-pylint-django/Makefile
+++ b/devel/py-pylint-django/Makefile
@@ -19,4 +19,9 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	DJANGO
+DJANGO_DESC=	Django support
+
+DJANGO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR}
+
 .include <bsd.port.mk>