# -*- 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 # $Id$ PortSystem 1.0 PortGroup kde4 1.1 name kdevelop version 4.3.1 revision 2 categories kde kde4 platforms darwin license GPL-2+ maintainers nicos openmaintainer description KDE development IDE long_description KDevelop is a free, open source IDE (Integrated \ Development Environment) for MS Windows, Mac OS X, \ Linux, Solaris and FreeBSD. It is a feature-full, \ plugin extensible IDE for C/C++ and other programming \ languages. It is based on KDevPlatform, and the KDE \ and Qt libraries and is under development since 1998. homepage http://www.kdevelop.org/ master_sites kde:stable/kdevelop/${version}/src/ checksums sha1 99596bf333bf5a62547f3dc0800674db146eb401 \ rmd160 918622218a88a6efe749d3cbf75cbcf01d8367a5 use_bzip2 yes depends_run-append port:cmake depends_lib-append port:kdelibs4 \ port:kdevplatform \ port:kate \ port:oxygen-icons if {![variant_isset docs]} { patchfiles patch-CMakeLists.diff } #Adjusting configure flags for Clang if {${configure.compiler} == "clang"} { if {${os.major} >= 11} { #Case of Lion and higher (ticket #34545) configure.args-append -DCMAKE_CXX_FLAGS="-Wno-reserved-user-defined-literal -stdlib=libc++" patchfiles-append patch-declarationbuilder.diff patch-context.diff } else { #Patching code for clang on SL where libc++ is not available configure.args-append -DCMAKE_CXX_FLAGS="-Wno-reserved-user-defined-literal" patchfiles-append patch-parser.diff } } notes " Please run ${prefix}/bin/kbuildsycoca4 command after installing kdevelop." livecheck.url http://kde.mirrors.hoobly.com/stable/${name} livecheck.regex "\(\\d+(?:\\.\\d+)*)\/"