Switch CMake to use python3 sphinx to create docs.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/cmake/Makefile,v
retrieving revision 1.180
diff -u -p -r1.180 Makefile
--- Makefile 20 Mar 2020 16:44:22 -0000 1.180
+++ Makefile 29 Mar 2020 18:15:35 -0000
@@ -8,6 +8,7 @@ VER = 3.16.2
EPOCH = 0
DISTNAME = cmake-${VER}
CATEGORIES = devel
+REVISION = 0
HOMEPAGE = https://www.cmake.org/
@@ -21,7 +22,11 @@ WANTLIB += jsoncpp m rhash uv z
COMPILER = base-clang ports-gcc
-BUILD_DEPENDS += textproc/py-sphinx>=1.4
+MODULES = lang/python
+MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
+MODPY_RUNDEP = No
+
+BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}
LIB_DEPENDS = archivers/libarchive \
devel/libuv \
@@ -37,7 +42,7 @@ CONFIGURE_ARGS = --datadir=share/cmake \
--no-qt-gui \
--parallel=${MAKE_JOBS} \
--prefix=${PREFIX} \
- --sphinx-build=${LOCALBASE}/bin/sphinx-build \
+ --sphinx-build=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} \
--sphinx-html \
--sphinx-man \
--system-libs \
No comments:
Post a Comment