Files

60 lines
1.9 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup kde4 1.1
PortGroup muniversal 1.0
PortGroup boost 1.0
name kdevplatform
version 1.7.4
revision 5
categories kde kde4
license GPL-2+
maintainers nomaintainer
description KDE libraries for IDE programs
long_description KDevPlatform is a free, open source set of libraries \
that can be used as a foundation for IDE-like \
programs. It is programing-language independent, and \
is planned to be used by programs like: KDevelop, \
Quanta, Kile, KTechLab ... etc.
# use C++11
compiler.cxx_standard 2011
set kdevelopversion 4.7.4
homepage http://www.kdevelop.org/
master_sites kde:stable/kdevelop/${kdevelopversion}/
checksums rmd160 1175ef36e0b3626703d2caccc8f01be0f7aa55ad \
sha256 21ea4a6c4e241e3b9d6f991ac98b2df8b9c45e17bdb416e836cefbde2d524574
use_xz yes
depends_lib-append port:kdelibs4 \
port:grantlee \
port:sparsehash
configure.args-append -DCMAKE_CXX_FLAGS="-std=c++11"
#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict openssl
#1. Deactivating subversion detection at configure to avoid hidden \
# use of system one (ticket #35185)
patchfiles-append patch-pluginsCMakeLists.diff \
patch-KDEmacros.diff
variant subversion description {Add subversion support for kdevelop} {
depends_lib-append port:subversion
patchfiles-delete patch-pluginsCMakeLists.diff
}
if {${configure.compiler} ne "clang"} {
#Adding -fexceptions, required by gcc compilers
patchfiles-append patch-languageCMakeLists.diff
}
livecheck.type none