source: trunk/dports/kde/kdevelop/Portfile

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

kdevelop: update to 4.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 146004 2016-02-24 15:48:26Z ryandesign@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.3
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  8798f919e7c4f70e1c3fa2486b84dacb1f62f052 \
28                    sha256  9db388d1c8274da7d168c13db612c7e94ece7815757b945b0aa0371620a06b35
29
30use_bzip2           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                    patch-cmakeOldPolicy.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.