source: trunk/dports/kde/kdevplatform/Portfile @ 141182

Last change on this file since 141182 was 141182, checked in by jeremyhu@…, 3 years ago

misc: Remove references to older versions of macports-clang that are no longer used

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- 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
2# $Id: Portfile 141182 2015-10-12 00:05:23Z jeremyhu@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4 1.1
6PortGroup           muniversal 1.0
7PortGroup           compiler_blacklist_versions 1.0
8
9name                kdevplatform
10version             1.7.1
11categories          kde kde4
12platforms           darwin
13license             GPL-2+
14maintainers         nicos openmaintainer
15
16description         KDE libraries for IDE programs
17long_description    KDevPlatform is a free, open source set of libraries \
18                    that can be used as a foundation for IDE-like \
19                    programs. It is programing-language independent, and \
20                    is planned to be used by programs like: KDevelop, \
21                    Quanta, Kile, KTechLab ... etc.
22
23set kdevelopversion 4.7.1
24
25homepage            http://www.kdevelop.org/
26master_sites        kde:stable/kdevelop/${kdevelopversion}/src/
27distname            ${name}-${version}
28
29checksums           rmd160  9ac629801ba8b4611478d67a4a7329953ed2cac4 \
30                    sha256  dfd8953aec204f04bd949443781aa0f6d9d58c40f73027619a168bb4ffc4b1ac
31
32use_xz              yes
33
34depends_lib-append  port:kdelibs4 \
35                    port:boost \
36                    port:grantlee \
37                    port:sparsehash
38
39compiler.blacklist-append {clang < 500}
40compiler.blacklist-append macports-llvm-gcc-4.2 llvm-gcc-4.2
41
42#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
43license_noconflict  openssl
44
45#1. Deactivating subversion detection at configure to avoid hidden \
46#   use of system one (ticket #35185)
47patchfiles-append   patch-pluginsCMakeLists.diff \
48                    patch-documentclassesfolder.diff
49
50variant subversion description {Add subversion support for kdevelop} {
51    depends_lib-append  port:subversion 
52    patchfiles-delete   patch-pluginsCMakeLists.diff
53}
54
55if {${configure.compiler} ne "clang"} {
56    #Adding -fexceptions, required by gcc compilers
57    patchfiles-append   patch-languageCMakeLists.diff
58} elseif {${os.platform} eq "darwin" && ${os.major} >= 11} {
59    #Using c++0x for Lion and higher in case of clang 64-bit
60    lappend merger_configure_args(x86_64)   -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DHAVE_UNORDERED_MAP=1
61    if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
62        configure.args-append               -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DHAVE_UNORDERED_MAP=1
63    }
64}
65
66livecheck.url       http://kde.mirrors.hoobly.com/stable/kdevelop/${kdevelopversion}/src
67livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.