source: trunk/dports/kde/kdevplatform/Portfile

Last change on this file was 146003, checked in by nicos@…, 21 months ago

kdevplatform: update to 1.7.3

  • 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 146003 2016-02-24 15:48:13Z ryandesign@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.3
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.3
24
25homepage            http://www.kdevelop.org/
26master_sites        kde:stable/kdevelop/${kdevelopversion}/src/
27distname            ${name}-${version}
28
29checksums           rmd160  ad41c852ea86374274428bcd348b7f125fd3393d \
30                    sha256  195134bde11672de38838f4b341ed28c58042374ca12beedacca9d30e6ab4a2b
31
32use_bzip2           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-cmakeOldPolicy.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.