mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
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.
This commit is contained in:
parent
db2c80e892
commit
f5b69b1fa9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411837
@ -273,6 +273,7 @@
|
||||
SUBDIR += cloudabi-binutils-x86_64
|
||||
SUBDIR += cloudabi-toolchain
|
||||
SUBDIR += cmake
|
||||
SUBDIR += cmake-doc
|
||||
SUBDIR += cmake-fedora
|
||||
SUBDIR += cmake-gui
|
||||
SUBDIR += cmake-modules
|
||||
|
33
devel/cmake-doc/Makefile
Normal file
33
devel/cmake-doc/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $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>
|
@ -0,0 +1,12 @@
|
||||
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}"
|
12
devel/cmake-doc/pkg-descr
Normal file
12
devel/cmake-doc/pkg-descr
Normal file
@ -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
|
2358
devel/cmake-doc/pkg-plist
Normal file
2358
devel/cmake-doc/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user