source: trunk/dports/kde/kdepim4/Portfile

Last change on this file was 153563, checked in by nicos@…, 12 months ago

kde4-runtime, kdepim4, kget: fix compilation after change in kdepimlibs4 in r153162 (ticket #52481)

  • 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 153563 2016-10-04 14:06:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4    1.1
6PortGroup           compiler_blacklist_versions 1.0 
7
8name                kdepim4
9version             4.14.3
10revision            2
11categories          kde kde4
12maintainers         intevation.de:bjoern.ricks nicos
13license             GPL-2+ LGPL-2+
14description         KDE4 groupware suite
15long_description    KDE4 groupware suite including a Mail client, \
16                    addressbook, organizer and groupware integration.
17platforms           darwin
18homepage            http://www.kde.org
19master_sites        kde:stable/${version}/src/
20use_xz              yes
21distname            kdepim-${version}
22
23checksums           rmd160  7dabf2be18cc9d3a0e42c9be855ebbe45dc54181 \
24                    sha256  a3fd17fa2f3b1debc32bd28537402aaf7337582ff2fe39dbadd47d5b3232f944
25
26depends_lib-append  port:kde4-runtime \
27                    port:nepomuk-widgets \
28                    port:kdelibs4 port:dblatex \
29                    port:kdepimlibs4 port:kdepimlibs4-kioslaves \
30                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
31                    port:shared-desktop-ontologies port:libassuan \
32                    port:kdepim4-runtime \
33                    port:link-grammar \
34                    port:baloo
35
36configure.args-append   ../${distname} \
37                        -DWITH_IndicateQt=OFF
38
39#ktimetracker: Enable ktimetracker and removing its dependency on X11 (https://trac.macports.org/ticket/44282)
40#emulate-addTitle: Preventing menu crash in kmail (https://trac.macports.org/ticket/44798)
41patchfiles-append   patch-ktimetracker.diff \
42                    patch-emulate-addTitle.diff \
43                    patch-CMakeLists-disableKleo.diff \
44                    patch-internal-gpgme.diff
45
46#Disabling kleopatra which does not build with boost >= 1.57.
47#See https://bugs.kde.org/show_bug.cgi?id=341355
48
49pre-configure {
50    reinplace "s|%PREFIX%|${prefix}|g" \
51        ${worksrcpath}/libkleo/CMakeLists.txt
52    reinplace "s|%PREFIX%|${prefix}|g" \
53        ${worksrcpath}/kaddressbook/CMakeLists.txt
54    reinplace "s|%PREFIX%|${prefix}|g" \
55        ${worksrcpath}/messagecomposer/CMakeLists.txt
56}
57
58if {![variant_isset docs]} {
59    depends_lib-delete  port:dblatex
60    patchfiles-append   patch-CMakeLists.diff
61}
62
63#Blacklist gcc42 and llvm-gcc-42
64compiler.blacklist  gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
65#Also blacklist clang before Xcode 4.2
66compiler.blacklist-append   {clang < 211.10.1}
67
68universal_variant   no
69
70livecheck.url       http://kde.mirrors.hoobly.com/stable/
71livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.