Commit 85fdc725 authored by pi's avatar pi
Browse files

New port: devel/extra-cmake-modules

The Extra CMake Modules package, or ECM, adds to the modules provided
by CMake, including ones used by find_package() to find common
software, ones that can be used directly in CMakeLists.txt files
to perform common tasks and toolchain files that must be specified
on the commandline by the user.

WWW: https://quickgit.kde.org/?p=extra-cmake-modules.git

PR:		209513
Submitted by:	yuri@rawbw.com
parent 309b6783
......@@ -517,6 +517,7 @@
SUBDIR += eventxx
SUBDIR += evolution-gconf-tools
SUBDIR += exercisix
SUBDIR += extra-cmake-modules
SUBDIR += f77flow
SUBDIR += fam
SUBDIR += fastcrc
......
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= extra-cmake-modules
PORTVERSION= 5.22.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= yuri@rawbw.com
COMMENT= Extra modules and scripts for CMake
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING-CMAKE-SCRIPTS
USE_GITHUB= yes
GH_ACCOUNT= KDE
USES= cmake
NO_ARCH= yes
## options
OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT=DOCS MANPAGES
SPHINX_DEP= sphinx-build:textproc/py-sphinx
DOCS_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
MANPAGES_CMAKE_ON= -DBUILD_MAN_DOCS:BOOL=ON
MANPAGES_CMAKE_OFF= -DBUILD_MAN_DOCS:BOOL=OFF
MANPAGES_PLIST_FILES= \
man/man7/ecm-developer.7.gz \
man/man7/ecm-find-modules.7.gz \
man/man7/ecm-kde-modules.7.gz \
man/man7/ecm-modules.7.gz \
man/man7/ecm-toolchains.7.gz \
man/man7/ecm.7.gz
.include <bsd.port.mk>
SHA256 (KDE-extra-cmake-modules-v5.22.0_GH0.tar.gz) = e38c7bd9959027e98d5938b17e07a9ad4332a0c38f36d24e52baf46e487dd94f
SIZE (KDE-extra-cmake-modules-v5.22.0_GH0.tar.gz) = 335787
--- CMakeLists.txt.orig 2016-05-03 15:00:24 UTC
+++ CMakeLists.txt
@@ -60,12 +60,12 @@ set(KDE_MODULES_INSTALL_DIR ${SHAR
set(MODULES_INSTALL_DIR ${SHARE_INSTALL_DIR}/ECM/modules/)
set(TOOLCHAIN_MODULES_INSTALL_DIR ${SHARE_INSTALL_DIR}/ECM/toolchain/)
-set(DOC_INSTALL_DIR ${SHARE_INSTALL_DIR}/doc/ECM
+set(DOC_INSTALL_DIR ${SHARE_INSTALL_DIR}/doc/extra-cmake-modules
CACHE
PATH
"HTML and QtHelp documentation"
)
-set(MAN_INSTALL_DIR ${SHARE_INSTALL_DIR}/man
+set(MAN_INSTALL_DIR man
CACHE
PATH
"man pages"
The Extra CMake Modules package, or ECM, adds to the modules provided
by CMake, including ones used by find_package() to find common
software, ones that can be used directly in CMakeLists.txt files
to perform common tasks and toolchain files that must be specified
on the commandline by the user.
WWW: https://quickgit.kde.org/?p=extra-cmake-modules.git
share/ECM/cmake/ECMConfig.cmake
share/ECM/cmake/ECMConfigVersion.cmake
share/ECM/find-modules/ECMFindModuleHelpersStub.cmake
share/ECM/find-modules/FindEGL.cmake
share/ECM/find-modules/FindKF5.cmake
share/ECM/find-modules/FindLibGit2.cmake
share/ECM/find-modules/FindOpenEXR.cmake
share/ECM/find-modules/FindPng2Ico.cmake
share/ECM/find-modules/FindPoppler.cmake
share/ECM/find-modules/FindQtWaylandScanner.cmake
share/ECM/find-modules/FindSharedMimeInfo.cmake
share/ECM/find-modules/FindWayland.cmake
share/ECM/find-modules/FindWaylandScanner.cmake
share/ECM/find-modules/FindX11_XCB.cmake
share/ECM/find-modules/FindXCB.cmake
share/ECM/kde-modules/KDECMakeSettings.cmake
share/ECM/kde-modules/KDECompilerSettings.cmake
share/ECM/kde-modules/KDEFrameworkCompilerSettings.cmake
share/ECM/kde-modules/KDEInstallDirs.cmake
share/ECM/kde-modules/KDEPackageAppTemplates.cmake
share/ECM/modules/ECMAddAppIcon.cmake
share/ECM/modules/ECMAddTests.cmake
share/ECM/modules/ECMCoverageOption.cmake
share/ECM/modules/ECMCreateQmFromPoFiles.cmake
share/ECM/modules/ECMEnableSanitizers.cmake
share/ECM/modules/ECMFindModuleHelpers.cmake
share/ECM/modules/ECMGenerateHeaders.cmake
share/ECM/modules/ECMGeneratePkgConfigFile.cmake
share/ECM/modules/ECMGeneratePriFile.cmake
share/ECM/modules/ECMInstallIcons.cmake
share/ECM/modules/ECMMarkAsTest.cmake
share/ECM/modules/ECMMarkNonGuiExecutable.cmake
share/ECM/modules/ECMOptionalAddSubdirectory.cmake
share/ECM/modules/ECMPackageConfigHelpers.cmake
share/ECM/modules/ECMPoQmTools.cmake
share/ECM/modules/ECMQmLoader.cpp.in
share/ECM/modules/ECMQtDeclareLoggingCategory.cmake
share/ECM/modules/ECMQtDeclareLoggingCategory.cpp.in
share/ECM/modules/ECMQtDeclareLoggingCategory.h.in
share/ECM/modules/ECMQueryQmake.cmake
share/ECM/modules/ECMSetupVersion.cmake
share/ECM/modules/ECMUninstallTarget.cmake
share/ECM/modules/ECMUseFindModules.cmake
share/ECM/modules/ECMVersionHeader.h.in
share/ECM/modules/ecm_uninstall.cmake.in
share/ECM/toolchain/Android.cmake
share/ECM/toolchain/deployment-file.json.in
share/ECM/toolchain/specifydependencies.cmake
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindEGL.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindKF5.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindLibGit2.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindOpenEXR.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindPng2Ico.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindPoppler.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindQtWaylandScanner.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindSharedMimeInfo.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindWayland.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindWaylandScanner.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindX11_XCB.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/find-module/FindXCB.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/index.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/kde-module/KDECMakeSettings.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/kde-module/KDECompilerSettings.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/kde-module/KDEFrameworkCompilerSettings.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/kde-module/KDEInstallDirs.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/kde-module/KDEPackageAppTemplates.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/manual/ecm-developer.7.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/manual/ecm-find-modules.7.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/manual/ecm-kde-modules.7.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/manual/ecm-modules.7.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/manual/ecm-toolchains.7.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/manual/ecm.7.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMAddAppIcon.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMAddTests.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMCoverageOption.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMCreateQmFromPoFiles.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMEnableSanitizers.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMFindModuleHelpers.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMGenerateHeaders.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMGeneratePkgConfigFile.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMGeneratePriFile.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMInstallIcons.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMMarkAsTest.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMMarkNonGuiExecutable.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMOptionalAddSubdirectory.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMPackageConfigHelpers.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMPoQmTools.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMQtDeclareLoggingCategory.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMSetupVersion.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMUninstallTarget.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/module/ECMUseFindModules.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_sources/toolchain/Android.txt
%%PORTDOCS%%%%DOCSDIR%%/html/_static/ajax-loader.gif
%%PORTDOCS%%%%DOCSDIR%%/html/_static/basic.css
%%PORTDOCS%%%%DOCSDIR%%/html/_static/classic.css
%%PORTDOCS%%%%DOCSDIR%%/html/_static/comment-bright.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/comment-close.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/comment.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/doctools.js
%%PORTDOCS%%%%DOCSDIR%%/html/_static/down-pressed.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/down.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/ecm.css
%%PORTDOCS%%%%DOCSDIR%%/html/_static/file.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/jquery-1.11.1.js
%%PORTDOCS%%%%DOCSDIR%%/html/_static/jquery.js
%%PORTDOCS%%%%DOCSDIR%%/html/_static/kde-favicon.ico
%%PORTDOCS%%%%DOCSDIR%%/html/_static/minus.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/plus.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/pygments.css
%%PORTDOCS%%%%DOCSDIR%%/html/_static/searchtools.js
%%PORTDOCS%%%%DOCSDIR%%/html/_static/sidebar.js
%%PORTDOCS%%%%DOCSDIR%%/html/_static/underscore-1.3.1.js
%%PORTDOCS%%%%DOCSDIR%%/html/_static/underscore.js
%%PORTDOCS%%%%DOCSDIR%%/html/_static/up-pressed.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/up.png
%%PORTDOCS%%%%DOCSDIR%%/html/_static/websupport.js
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindEGL.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindKF5.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindLibGit2.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindOpenEXR.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindPng2Ico.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindPoppler.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindQtWaylandScanner.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindSharedMimeInfo.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindWayland.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindWaylandScanner.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindX11_XCB.html
%%PORTDOCS%%%%DOCSDIR%%/html/find-module/FindXCB.html
%%PORTDOCS%%%%DOCSDIR%%/html/genindex.html
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%%%DOCSDIR%%/html/kde-module/KDECMakeSettings.html
%%PORTDOCS%%%%DOCSDIR%%/html/kde-module/KDECompilerSettings.html
%%PORTDOCS%%%%DOCSDIR%%/html/kde-module/KDEFrameworkCompilerSettings.html
%%PORTDOCS%%%%DOCSDIR%%/html/kde-module/KDEInstallDirs.html
%%PORTDOCS%%%%DOCSDIR%%/html/kde-module/KDEPackageAppTemplates.html
%%PORTDOCS%%%%DOCSDIR%%/html/manual/ecm-developer.7.html
%%PORTDOCS%%%%DOCSDIR%%/html/manual/ecm-find-modules.7.html
%%PORTDOCS%%%%DOCSDIR%%/html/manual/ecm-kde-modules.7.html
%%PORTDOCS%%%%DOCSDIR%%/html/manual/ecm-modules.7.html
%%PORTDOCS%%%%DOCSDIR%%/html/manual/ecm-toolchains.7.html
%%PORTDOCS%%%%DOCSDIR%%/html/manual/ecm.7.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMAddAppIcon.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMAddTests.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMCoverageOption.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMCreateQmFromPoFiles.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMEnableSanitizers.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMFindModuleHelpers.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMGenerateHeaders.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMGeneratePkgConfigFile.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMGeneratePriFile.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMInstallIcons.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMMarkAsTest.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMMarkNonGuiExecutable.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMOptionalAddSubdirectory.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMPackageConfigHelpers.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMPoQmTools.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMQtDeclareLoggingCategory.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMSetupVersion.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMUninstallTarget.html
%%PORTDOCS%%%%DOCSDIR%%/html/module/ECMUseFindModules.html
%%PORTDOCS%%%%DOCSDIR%%/html/search.html
%%PORTDOCS%%%%DOCSDIR%%/html/searchindex.js
%%PORTDOCS%%%%DOCSDIR%%/html/toolchain/Android.html
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment