git: 202e508588af - main - devel/py-pythonfinder: Add CLI option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 05:30:39 UTC
The branch main has been updated by sunpoet:

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

commit 202e508588af26739c6df44f12e391e44ccd4116
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 05:30:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 05:30:09 +0000

    devel/py-pythonfinder: Add CLI option
---
 devel/py-pythonfinder/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/py-pythonfinder/Makefile b/devel/py-pythonfinder/Makefile
index 91c623a6ca82..8cc05f1cc80d 100644
--- a/devel/py-pythonfinder/Makefile
+++ b/devel/py-pythonfinder/Makefile
@@ -21,4 +21,8 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	CLI
+
+CLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR}
+
 .include <bsd.port.mk>