Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 09:43:45 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457678 - in head/devel: cmake-doc cmake-gui
Message-ID:  <201712310943.vBV9hjih055488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Dec 31 09:43:44 2017
New Revision: 457678
URL: https://svnweb.freebsd.org/changeset/ports/457678

Log:
  Convert devel/cmake-doc and devel/cmake-gui to use CMAKE_ON/OFF

Modified:
  head/devel/cmake-doc/Makefile
  head/devel/cmake-gui/Makefile

Modified: head/devel/cmake-doc/Makefile
==============================================================================
--- head/devel/cmake-doc/Makefile	Sun Dec 31 09:43:05 2017	(r457677)
+++ head/devel/cmake-doc/Makefile	Sun Dec 31 09:43:44 2017	(r457678)
@@ -20,10 +20,9 @@ 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}" \
+CMAKE_OFF=	SPHINX_MAN
+CMAKE_ON=	SPHINX_HTML SPHINX_QTHELP
+CMAKE_ARGS=	-DCMAKE_DOC_DIR:STRING="${DOCSDIR_REL}" \
 		-DQCOLLECTIONGENERATOR_EXECUTABLE=${QT_BINDIR}/qcollectiongenerator
 CMAKE_SOURCE_PATH=	${WRKSRC}/Utilities/Sphinx
 

Modified: head/devel/cmake-gui/Makefile
==============================================================================
--- head/devel/cmake-gui/Makefile	Sun Dec 31 09:43:05 2017	(r457677)
+++ head/devel/cmake-gui/Makefile	Sun Dec 31 09:43:44 2017	(r457678)
@@ -22,13 +22,13 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 USE_QT5=	core gui widgets buildtools_build qmake_build
 USES=		cmake:run desktop-file-utils libarchive \
 		shared-mime-info
-CMAKE_ARGS=	-DBUILD_QtDialog:bool=on \
-		-DBUILD_CursesDialog:BOOL=OFF \
-		-DSPHINX_MAN:BOOL=ON \
-		-DCMAKE_USE_SYSTEM_LIBRARIES:BOOL=ON \
-		-DCMAKE_DATA_DIR:STRING="/${DATADIR_REL}" \
+CMAKE_OFF=	BUILD_CursesDialog \
+		CMake_SPHINX_DEPEND_ON_EXECUTABLES
+CMAKE_ON=	BUILD_QtDialog \
+		CMAKE_USE_SYSTEM_LIBRARIES \
+		SPHINX_MAN 
+CMAKE_ARGS=	-DCMAKE_DATA_DIR:STRING="/${DATADIR_REL}" \
 		-DCMAKE_DOC_DIR:STRING="/${DOCSDIR_REL}" \
-		-DCMake_SPHINX_DEPEND_ON_EXECUTABLES:BOOL=OFF
 
 ALL_TARGET=	cmake-gui documentation
 INSTALL_WRKSRC=	${WRKSRC}/Source/QtDialog



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712310943.vBV9hjih055488>