Commit 4b94f386 authored by rakuco's avatar rakuco
Browse files

New port: devel/cmake-doc.

This port contains the documentation shipped by devel/cmake in additional
formats: HTML and QCH, the latter of which can be used by Qt Creator.

Submitted by:	Ralf Nolden <nolden@kde.org> to the area51 mailing list.
parent 6e3c1c7b
...@@ -273,6 +273,7 @@ ...@@ -273,6 +273,7 @@
SUBDIR += cloudabi-binutils-x86_64 SUBDIR += cloudabi-binutils-x86_64
SUBDIR += cloudabi-toolchain SUBDIR += cloudabi-toolchain
SUBDIR += cmake SUBDIR += cmake
SUBDIR += cmake-doc
SUBDIR += cmake-fedora SUBDIR += cmake-fedora
SUBDIR += cmake-gui SUBDIR += cmake-gui
SUBDIR += cmake-modules SUBDIR += cmake-modules
......
# $FreeBSD$
PORTNAME= cmake
PORTVERSION= 3.5.0
CATEGORIES= devel
MASTER_SITES= https://www.cmake.org/files/v${PORTVERSION:R}/
PKGNAMESUFFIX= -doc
MAINTAINER= kde@FreeBSD.org
COMMENT= HTML and Qt Creator helpfiles for CMake
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/Copyright.txt
DISTINFO_FILE= ${PORTSDIR}/devel/cmake/distinfo
BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
NO_ARCH= yes
USES= cmake:outsource
USE_QT5= help_build
CMAKE_ARGS= -DSPHINX_MAN:BOOL=OFF \
-DSPHINX_HTML:BOOL=ON \
-DSPHINX_QTHELP:BOOL=ON \
-DCMAKE_DOC_DIR:STRING="${DOCSDIR_REL}" \
-DQCOLLECTIONGENERATOR_EXECUTABLE=${QT_BINDIR}/qcollectiongenerator
CMAKE_SOURCE_PATH= ${WRKSRC}/Utilities/Sphinx
ALL_TARGET= documentation
INSTALL_TARGET= install
.include <bsd.port.mk>
The file Sphinx generates is currently called classic.css, not default.css.
--- Utilities/Sphinx/apply_qthelp_css_workaround.cmake.orig 2016-03-08 14:36:25 UTC
+++ Utilities/Sphinx/apply_qthelp_css_workaround.cmake
@@ -1,7 +1,7 @@
file(READ "${CSS_DIR}/basic.css" BasicCssContent)
-file(READ "${CSS_DIR}/default.css" DefaultCssContent)
+file(READ "${CSS_DIR}/classic.css" DefaultCssContent)
string(REPLACE
"@import url(\"basic.css\")" "${BasicCssContent}"
DefaultCssContent "${DefaultCssContent}"
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
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment