aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cmake-doc/Makefile
blob: 719320c0a6edb73715876706b3c7e737e4873531 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

PORTNAME=   cmake
PORTVERSION=    3.8.2
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=  ${.CURDIR}/../cmake/distinfo

BUILD_DEPENDS=  sphinx-build: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

PLIST_SUB=  CMAKEVERSION="${PORTVERSION:S/.//g}"

.include <bsd.port.mk>