diff --git a/devel/cmake-man/Makefile b/devel/cmake-man/Makefile new file mode 100644 index 000000000000..924b45a687ce --- /dev/null +++ b/devel/cmake-man/Makefile @@ -0,0 +1,35 @@ +PORTNAME= cmake +DISTVERSION= 3.22.2 +CATEGORIES= devel +MASTER_SITES= https://www.cmake.org/files/v${DISTVERSION:R}/ +PKGNAMESUFFIX= -man + +MAINTAINER= kde@FreeBSD.org +COMMENT= Manual pages for CMake + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/Copyright.txt + +BUILD_DEPENDS= sphinx-build:textproc/py-sphinx + +DISTINFO_FILE= ${.CURDIR}/../cmake/distinfo + +NO_ARCH= yes +USES= cmake +USE_LOCALE= en_US.UTF-8 + +CMAKE_OFF= SPHINX_HTML SPHINX_QTHELP +CMAKE_ON= SPHINX_MAN +CMAKE_ARGS= -DCMAKE_DOC_DIR:STRING="${DOCSDIR_REL}" +CMAKE_SOURCE_PATH= ${WRKSRC}/Utilities/Sphinx + +ALL_TARGET= documentation +INSTALL_TARGET= install + +PLIST_SUB= CMAKEVERSION="${DISTVERSION:S/.//g:C/-.*//}" + +post-install: +# This is installed by devel/cmake-gui + @${RM} ${STAGEDIR}${PREFX}/man/man1/cmake-gui.1.gz + +.include diff --git a/devel/cmake-man/pkg-descr b/devel/cmake-man/pkg-descr new file mode 100644 index 000000000000..0cfa6a35e4a0 --- /dev/null +++ b/devel/cmake-man/pkg-descr @@ -0,0 +1,12 @@ +CMake is used to control the software compilation process using +simple platform and compiler independent configuration files. CMake +generates native makefiles and workspaces that can be used in the +compiler environment of your choice. CMake is quite sophisticated: +it is possible to support complex environments requiring system +configuration, pre-processor generation, code generation, and +template instantiation. + +This port contains CMake's documentation in additional formats such as +HTML and QCH. + +WWW: https://www.cmake.org diff --git a/devel/cmake-man/pkg-plist b/devel/cmake-man/pkg-plist new file mode 100644 index 000000000000..b6c2bf8ae976 --- /dev/null +++ b/devel/cmake-man/pkg-plist @@ -0,0 +1,23 @@ +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-env-variables.7.gz +man/man7/cmake-file-api.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-presets.7.gz +man/man7/cmake-properties.7.gz +man/man7/cmake-qt.7.gz +man/man7/cmake-server.7.gz +man/man7/cmake-toolchains.7.gz +man/man7/cmake-variables.7.gz +man/man7/cpack-generators.7.gz