aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-09-01 03:30:51 +0800
committerpi <pi@FreeBSD.org>2016-09-01 03:30:51 +0800
commit04578ed07cb332a0642a357880335e7e9d19393f (patch)
tree0509e3ebb04e39172a7c4fd47da155bb0c0bc523 /devel
parentc6a73e04d781646dc3885298276f6a7076d723cc (diff)
downloadfreebsd-ports-gnome-04578ed07cb332a0642a357880335e7e9d19393f.tar.gz
freebsd-ports-gnome-04578ed07cb332a0642a357880335e7e9d19393f.tar.zst
freebsd-ports-gnome-04578ed07cb332a0642a357880335e7e9d19393f.zip
devel/extra-cmake-modules: 5.24.0 -> 5.25.0
- Add TEST port option to match BUILD_TESTING cmake option o CAVEAT: TEST=off is currently broken, see upstream bug# in Makefile - DOCS requires qcollectiongenerator, added it via QT5=help - TEST requires QT5=buildtools_build,linguisttools_build,qmake_build - Patches FindQCollectionGenerator cmake test for the correct binary path under qt5/ PR: 211375 MFH: 2016Q3 Submitted by: Yuri Victorovich <yuri@rawbw.com> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/extra-cmake-modules/Makefile21
-rw-r--r--devel/extra-cmake-modules/distinfo6
-rw-r--r--devel/extra-cmake-modules/pkg-plist1
3 files changed, 21 insertions, 7 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 \
diff --git a/devel/extra-cmake-modules/distinfo b/devel/extra-cmake-modules/distinfo
index 82e3914f74ff..24f76e035fad 100644
--- a/devel/extra-cmake-modules/distinfo
+++ b/devel/extra-cmake-modules/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1468483157
-SHA256 (KDE-extra-cmake-modules-v5.24.0_GH0.tar.gz) = 7e254a3208da0a17bc37d0914993d5d16332681435e88652517681e62ada7537
-SIZE (KDE-extra-cmake-modules-v5.24.0_GH0.tar.gz) = 337129
+TIMESTAMP = 1471093039
+SHA256 (KDE-extra-cmake-modules-v5.25.0_GH0.tar.gz) = 5506d83d742b36f5e3bc536077cb8db7e41bfb7b92d55f42d91536d1214e1d0e
+SIZE (KDE-extra-cmake-modules-v5.25.0_GH0.tar.gz) = 337242
diff --git a/devel/extra-cmake-modules/pkg-plist b/devel/extra-cmake-modules/pkg-plist
index fb6948cdf758..bdcec9bb2f93 100644
--- a/devel/extra-cmake-modules/pkg-plist
+++ b/devel/extra-cmake-modules/pkg-plist
@@ -161,3 +161,4 @@ share/ECM/toolchain/specifydependencies.cmake
%%PORTDOCS%%%%DOCSDIR%%/html/search.html
%%PORTDOCS%%%%DOCSDIR%%/html/searchindex.js
%%PORTDOCS%%%%DOCSDIR%%/html/toolchain/Android.html
+%%HELP%%%%DOCSDIR%%/ExtraCMakeModules.qch