summaryrefslogtreecommitdiff
path: root/textproc/py-sphinx-theme-builder
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-26 03:22:22 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-26 03:50:26 +0800
commit290e5fc6520ba9b23399ea70c270255190cfcb3d (patch)
tree76ebffd6ae21475516acece296a1a2b387c2381a /textproc/py-sphinx-theme-builder
parenttextproc/py-pycountry: Update to 22.1.10 (diff)
textproc/py-sphinx-theme-builder: Add CLI option
Diffstat (limited to 'textproc/py-sphinx-theme-builder')
-rw-r--r--textproc/py-sphinx-theme-builder/Makefile7
1 files changed, 7 insertions, 0 deletions
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