git: 3a7744e2ba9b - main - devel/py-fiddle: Add FLAGS option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Oct 2024 15:59:41 UTC
The branch main has been updated by sunpoet:

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

commit 3a7744e2ba9bffe7f89f2df4b74c2c5dd7417699
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-25 15:38:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-25 15:56:43 +0000

    devel/py-fiddle: Add FLAGS option
---
 devel/py-fiddle/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/py-fiddle/Makefile b/devel/py-fiddle/Makefile
index 52bc192194c0..86bd172f8306 100644
--- a/devel/py-fiddle/Makefile
+++ b/devel/py-fiddle/Makefile
@@ -24,4 +24,10 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	FLAGS
+FLAGS_DESC=	Command-line flags support
+
+FLAGS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}absl-py>=0:devel/py-absl-py@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}etils>=0:devel/py-etils@${PY_FLAVOR}
+
 .include <bsd.port.mk>