git: 300f36319e3f - main - devel/py-pudb: Add COMPLETION option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 10:54:14 UTC
The branch main has been updated by sunpoet:

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

commit 300f36319e3f5470500b9166905cbf40d4534ba7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 10:51:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 10:51:55 +0000

    devel/py-pudb: Add COMPLETION option
---
 devel/py-pudb/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/py-pudb/Makefile b/devel/py-pudb/Makefile
index 82d572abfca6..ba67bed550e0 100644
--- a/devel/py-pudb/Makefile
+++ b/devel/py-pudb/Makefile
@@ -23,4 +23,9 @@ USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	COMPLETION
+COMPLETION_DESC=Tab completion in debugger
+
+COMPLETION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}shtab>=0:devel/py-shtab@${PY_FLAVOR}
+
 .include <bsd.port.mk>