source: trunk/dports/kde/kdevelop/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                kdevelop
10version             4.7.1
11categories          kde kde4
12platforms           darwin
13license             GPL-2+
14maintainers         nicos openmaintainer
15
16description         KDE development IDE
17long_description    KDevelop is a free, open source IDE (Integrated \
18                    Development Environment) for MS Windows, Mac OS X, \
19                    Linux, Solaris and FreeBSD. It is a feature-full, \
20                    plugin extensible IDE for C/C++ and other programming \
21                    languages. It is based on KDevPlatform, and the KDE \
22                    and Qt libraries and is under development since 1998.
23
24homepage            http://www.kdevelop.org/
25master_sites        kde:stable/kdevelop/${version}/src/
26
27checksums           rmd160  cf1ebb11831f43ea0af8732ab0d83ebb657d67b5 \
28                    sha256  e3ad5377f53739a67216d37cda3f88c03f8fbb0c96e2a9ef4056df3c124e95c1
29
30use_xz              yes
31
32depends_run-append  port:cmake
33
34depends_lib-append  port:kdelibs4 \
35                    port:kdevplatform \
36                    port:kate \
37                    port:oxygen-icons
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. Avoid automatic use of okteta unless specified in variant (find scripts are broken)
46#2-3. Change use of std::list with QList which is recognized during build
47patchfiles          patch-okteta.diff \
48                    patch-declarationbuilder.diff \
49                    patch-context.diff
50
51if {![variant_isset docs]} {
52    patchfiles-append   patch-CMakeLists.diff
53}
54
55variant okteta description "Adds support for okteta" {
56    depends_lib-append  port:okteta
57    patchfiles-delete   patch-okteta.diff
58}   
59
60#Using c++0x for Lion and higher in case of clang 64-bit
61if {${configure.compiler} eq "clang" && ${os.platform} eq "darwin" && ${os.major} >= 11} {
62    lappend merger_configure_args(x86_64)   -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DHAVE_UNORDERED_MAP=1
63    if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
64        configure.args-append               -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DHAVE_UNORDERED_MAP=1
65    }
66}
67
68livecheck.url       http://kde.mirrors.hoobly.com/stable/${name}
69livecheck.regex     "\(\\d+(?:\\.\\d+)*)\/"
Note: See TracBrowser for help on using the repository browser.