Makefile 776 Bytes
Newer Older
rakuco's avatar
rakuco committed
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
# $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>