diff options
author | adamw <adamw@FreeBSD.org> | 2015-02-25 00:40:43 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2015-02-25 00:40:43 +0800 |
commit | 84c02545c08c83718e54102968f7874e0edbd803 (patch) | |
tree | fea83b6cd464a260e88ab4c74a8b7bdc907a4c1b /devel/cmake | |
parent | 37783166bfe9b4191a71c93efad33e6fc028b074 (diff) | |
download | freebsd-ports-gnome-84c02545c08c83718e54102968f7874e0edbd803.tar.gz freebsd-ports-gnome-84c02545c08c83718e54102968f7874e0edbd803.tar.zst freebsd-ports-gnome-84c02545c08c83718e54102968f7874e0edbd803.zip |
Add a MANPAGES option to control the generation of cmake's manpages.
The py-sphinx system brings in a number of dependencies that wouldn't
otherwise be necessary for cmake. The MANPAGES option defaults to on,
so the main pkg won't change.
PR: 193259
Approved by: kde (makc)
Diffstat (limited to 'devel/cmake')
-rw-r--r-- | devel/cmake/Makefile | 8 | ||||
-rw-r--r-- | devel/cmake/pkg-plist | 36 |
2 files changed, 23 insertions, 21 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index 87964c3f0f85..9f4f5d5f708c 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -17,20 +17,22 @@ CONFIGURE_ENV= MAKE=make CONFIGURE_ARGS= --prefix=${PREFIX} \ --datadir="/${DATADIR_REL}" \ --docdir="/${DOCSDIR_REL}" \ - --sphinx-man \ --system-libs \ --parallel=${MAKE_JOBS_NUMBER} \ --init="${PATCHDIR}/InitialCache.cmake" .if !defined(CMAKE_MODULES) -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS MANPAGES +OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes HAS_CONFIGURE= yes -BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libexpat.so:${PORTSDIR}/textproc/expat2 RUN_DEPENDS= ${LOCALBASE}/share/cmake/Modules/CMake.cmake:${PORTSDIR}/devel/cmake-modules + +MANPAGES_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx +MANPAGES_CONFIGURE_ON= --sphinx-man .endif .include <bsd.port.pre.mk> diff --git a/devel/cmake/pkg-plist b/devel/cmake/pkg-plist index 82db2c6dcf19..9bfd5a2cf1db 100644 --- a/devel/cmake/pkg-plist +++ b/devel/cmake/pkg-plist @@ -2,24 +2,24 @@ bin/ccmake bin/cmake bin/cpack bin/ctest -man/man1/ccmake.1.gz -man/man1/cmake.1.gz -man/man1/cpack.1.gz -man/man1/ctest.1.gz -man/man7/cmake-buildsystem.7.gz -man/man7/cmake-commands.7.gz -man/man7/cmake-compile-features.7.gz -man/man7/cmake-developer.7.gz -man/man7/cmake-generator-expressions.7.gz -man/man7/cmake-generators.7.gz -man/man7/cmake-language.7.gz -man/man7/cmake-modules.7.gz -man/man7/cmake-packages.7.gz -man/man7/cmake-policies.7.gz -man/man7/cmake-properties.7.gz -man/man7/cmake-qt.7.gz -man/man7/cmake-toolchains.7.gz -man/man7/cmake-variables.7.gz +%%MANPAGES%%man/man1/ccmake.1.gz +%%MANPAGES%%man/man1/cmake.1.gz +%%MANPAGES%%man/man1/cpack.1.gz +%%MANPAGES%%man/man1/ctest.1.gz +%%MANPAGES%%man/man7/cmake-buildsystem.7.gz +%%MANPAGES%%man/man7/cmake-commands.7.gz +%%MANPAGES%%man/man7/cmake-compile-features.7.gz +%%MANPAGES%%man/man7/cmake-developer.7.gz +%%MANPAGES%%man/man7/cmake-generator-expressions.7.gz +%%MANPAGES%%man/man7/cmake-generators.7.gz +%%MANPAGES%%man/man7/cmake-language.7.gz +%%MANPAGES%%man/man7/cmake-modules.7.gz +%%MANPAGES%%man/man7/cmake-packages.7.gz +%%MANPAGES%%man/man7/cmake-policies.7.gz +%%MANPAGES%%man/man7/cmake-properties.7.gz +%%MANPAGES%%man/man7/cmake-qt.7.gz +%%MANPAGES%%man/man7/cmake-toolchains.7.gz +%%MANPAGES%%man/man7/cmake-variables.7.gz share/aclocal/cmake.m4 %%DATADIR%%/Help/command/FIND_XXX.txt %%DATADIR%%/Help/command/FIND_XXX_MAC.txt |