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

Last change on this file since 135638 was 135638, checked in by nicos@…, 4 years ago

kdevplatform: update to 1.7.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 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 135638 2015-04-28 16:32:06Z nicos@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-clang-3.1 macports-clang-3.0
41compiler.blacklist-append macports-llvm-gcc-4.2 llvm-gcc-4.2
42
43#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
44license_noconflict  openssl
45
46#1. Deactivating subversion detection at configure to avoid hidden \
47#   use of system one (ticket #35185)
48patchfiles-append   patch-pluginsCMakeLists.diff \
49                    patch-documentclassesfolder.diff
50
51variant subversion description {Add subversion support for kdevelop} {
52    depends_lib-append  port:subversion 
53    patchfiles-delete   patch-pluginsCMakeLists.diff
54}
55
56if {${configure.compiler} ne "clang"} {
57    #Adding -fexceptions, required by gcc compilers
58    patchfiles-append   patch-languageCMakeLists.diff
59} elseif {${os.platform} eq "darwin" && ${os.major} >= 11} {
60    #Using c++0x for Lion and higher in case of clang 64-bit
61    lappend merger_configure_args(x86_64)   -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DHAVE_UNORDERED_MAP=1
62    if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
63        configure.args-append               -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DHAVE_UNORDERED_MAP=1
64    }
65}
66
67livecheck.url       http://kde.mirrors.hoobly.com/stable/kdevelop/${kdevelopversion}/src
68livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.