source: trunk/dports/kde/kdepimlibs4/Portfile @ 126429

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

kdepimlibs4: whitespace

  • 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 126429 2014-10-10 02:39:48Z nicos@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4    1.1
6
7name                kdepimlibs4
8version             4.13.3
9categories          kde kde4
10maintainers         nicos
11license             GPL-2+ LGPL-2+ BSD
12description         KDE4 core PIM libraries
13long_description    Core libraries necessary for Personal Information Management (PIM) in KDE4
14platforms           darwin
15homepage            http://www.kde.org
16master_sites        kde:stable/${version}/src/
17use_xz              yes
18distname            kdepimlibs-${version}
19
20checksums           rmd160  f1c43b3559a0ceaf38507e60a4c5406c299b0acb \
21                    sha256  5ed6907c3bfd4e74de185145385405a2b55bcf5f41ffcb2b56dbda41cc857adb
22
23#The only binaries linking to openssl (through QtNetwork) are libkimap.dylib
24#and libmailtransport.dylib, which are purely LPGL, thus not conflicting with
25#openssl license, apart from plugins in kioslaves
26license_noconflict  openssl
27
28depends_lib-append  port:kdelibs4 \
29                    port:akonadi \
30                    port:boost \
31                    port:libical \
32                    port:openldap \
33                    port:prison \
34                    port:cyrus-sasl2 \
35                    port:shared-mime-info \
36                    port:qjson \
37                    port:libxslt \
38                    port:libxml2 \
39                    port:perl5 \
40                    port:gpgme
41
42#Suppress build of kioslaves which conflict with openssl
43patchfiles-append   patch-CMakeLists.diff
44
45configure.args-append   -DMAILTRANSPORT_INPROCESS_SMTP=Off
46
47pre-activate {
48    if {[file exists ${applications_dir}/KDE4/akonadi2xml.app/Contents/Info.plist]
49        && ![catch {set vers [lindex [registry_active kdepim4-runtime] 0]}] 
50        && [vercmp [lindex $vers 1] 4.12.0] < 0} {
51            registry_deactivate_composite kdepim4-runtime "" [list ports_nodepcheck 1] 
52    }
53}
54
55subport kdepimlibs4-kioslaves {
56
57#kioslaves components conflict with openssl license
58license_noconflict-delete   openssl
59
60#The main kdepimlibs4 is required for linking with other libraries
61depends_lib-append      port:kdepimlibs4
62
63#Builds only kioslaves components
64patchfiles-delete   patch-CMakeLists.diff
65patchfiles-append   patch-CMakeLists-kioslaves.diff
66
67#Suppresses files already installed by kdepimlibs4 main port
68post-destroot {
69    delete ${destroot}${prefix}/share/mime/packages/kdepimlibs-mime.xml
70}
71}
72
73livecheck.url       http://kde.mirrors.hoobly.com/stable/
74livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.