source: trunk/dports/kde/kdevelop/Portfile @ 135639

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

kdevelop: update to 4.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 135639 2015-04-28 16:32:52Z nicos@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-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. Avoid automatic use of okteta unless specified in variant (find scripts are broken)
47#2-3. Change use of std::list with QList which is recognized during build
48patchfiles          patch-okteta.diff \
49                    patch-declarationbuilder.diff \
50                    patch-context.diff
51
52if {![variant_isset docs]} {
53    patchfiles-append   patch-CMakeLists.diff
54}
55
56variant okteta description "Adds support for okteta" {
57    depends_lib-append  port:okteta
58    patchfiles-delete   patch-okteta.diff
59}   
60
61#Using c++0x for Lion and higher in case of clang 64-bit
62if {${configure.compiler} eq "clang" && ${os.platform} eq "darwin" && ${os.major} >= 11} {
63    lappend merger_configure_args(x86_64)   -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DHAVE_UNORDERED_MAP=1
64    if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
65        configure.args-append               -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DHAVE_UNORDERED_MAP=1
66    }
67}
68
69livecheck.url       http://kde.mirrors.hoobly.com/stable/${name}
70livecheck.regex     "\(\\d+(?:\\.\\d+)*)\/"
Note: See TracBrowser for help on using the repository browser.