aboutsummaryrefslogtreecommitdiff
path: root/devel/extra-cmake-modules/Makefile
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-08-31 19:30:51 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-08-31 19:30:51 +0000
commitb81c67da858c5d3029ecf72f3d64f1619162218b (patch)
tree0509e3ebb04e39172a7c4fd47da155bb0c0bc523 /devel/extra-cmake-modules/Makefile
parentc25921a3cc160514839f127fb171bf15024abe32 (diff)
downloadports-b81c67da858c5d3029ecf72f3d64f1619162218b.tar.gz
ports-b81c67da858c5d3029ecf72f3d64f1619162218b.zip
Notes
Diffstat (limited to 'devel/extra-cmake-modules/Makefile')
-rw-r--r--devel/extra-cmake-modules/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/devel/extra-cmake-modules/Makefile b/devel/extra-cmake-modules/Makefile
index 7f3dba238bc2..5fdaf4723b40 100644
--- a/devel/extra-cmake-modules/Makefile
+++ b/devel/extra-cmake-modules/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= extra-cmake-modules
-PORTVERSION= 5.24.0
+PORTVERSION= 5.25.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
@@ -16,20 +16,33 @@ USE_GITHUB= yes
GH_ACCOUNT= KDE
USES= cmake
+DOCS_USE= QT5=help
+TEST_USE= QT5=buildtools_build,linguisttools_build,qmake_build
NO_ARCH= yes
## options
-OPTIONS_DEFINE= DOCS MANPAGES
-OPTIONS_DEFAULT=MANPAGES
+OPTIONS_DEFINE= DOCS HELP MANPAGES TEST
+OPTIONS_DEFAULT=HELP MANPAGES TEST # TEST=off fails: https://bugs.kde.org/show_bug.cgi?id=366110
+OPTIONS_SUB= yes
+
+HELP_DESC= Generate QtHelp documentation for installed modules
SPHINX_DEP= sphinx-build:textproc/py-sphinx
DOCS_BUILD_DEPENDS= ${SPHINX_DEP}
+HELP_BUILD_DEPENDS= ${SPHINX_DEP}
MANPAGES_BUILD_DEPENDS= ${SPHINX_DEP}
DOCS_CMAKE_ON= -DBUILD_HTML_DOCS:BOOL=ON
-DOCS_CMAKE_OFF= -DBUILD_HTML_DOCS:BOOL=OFF
+DOCS_CMAKE_OFF= -DBUILD_HTML_DOCS:BOOL=OFF
+HELP_CMAKE_ON= -DBUILD_QTHELP_DOCS:BOOL=ON
+HELP_CMAKE_OFF= -DBUILD_QTHELP_DOCS:BOOL=OFF
MANPAGES_CMAKE_ON= -DBUILD_MAN_DOCS:BOOL=ON
MANPAGES_CMAKE_OFF= -DBUILD_MAN_DOCS:BOOL=OFF
+TEST_CMAKE_ON= -DBUILD_TESTING:BOOL=ON
+TEST_CMAKE_OFF= -DBUILD_TESTING:BOOL=OFF
+
+CONFIGURE_ENV+= CMAKE_PROGRAM_PATH="${LOCALBASE}/bin:${LOCALBASE}/lib/qt5/bin"
+
MANPAGES_PLIST_FILES= \
man/man7/ecm-developer.7.gz \
man/man7/ecm-find-modules.7.gz \