git: 290e5fc6520b - main - textproc/py-sphinx-theme-builder: Add CLI option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jan 2022 19:54:22 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=290e5fc6520ba9b23399ea70c270255190cfcb3d commit 290e5fc6520ba9b23399ea70c270255190cfcb3d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-01-25 19:22:22 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-01-25 19:50:26 +0000 textproc/py-sphinx-theme-builder: Add CLI option --- textproc/py-sphinx-theme-builder/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/textproc/py-sphinx-theme-builder/Makefile b/textproc/py-sphinx-theme-builder/Makefile index 8813463d9a84..c471f86ccb6d 100644 --- a/textproc/py-sphinx-theme-builder/Makefile +++ b/textproc/py-sphinx-theme-builder/Makefile @@ -23,6 +23,13 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +OPTIONS_DEFINE= CLI +CLI_DESC= Command-line interface support + +CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx-autobuild>=0:textproc/py-sphinx-autobuild@${PY_FLAVOR} + post-patch: @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py