# -*- 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
# $Id: Portfile 107844 2013-07-07 04:29:50Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1

name                kdepimlibs4
version             4.10.5
categories          kde kde4
maintainers         sharky nicos
license             GPL-2+ LGPL-2+ BSD
description         KDE4 core PIM libraries
long_description    Core libraries necessary for Personal Information Management (PIM) in KDE4
platforms           darwin
homepage            http://www.kde.org
master_sites        kde:stable/${version}/src/
use_xz              yes
distname            kdepimlibs-${version}

checksums           rmd160  9b1697b194e73aa994ddef99ad6f3561f4f68909 \
                    sha256  b9600f2ae1c61d65252ac5046c348f18d586114be3ab54744b0f5925f2881e06

#The only binaries linking to openssl (through QtNetwork) are libkimap.dylib
#and libmailtransport.dylib, which are purely LPGL, thus not conflicting with
#openssl license
license_noconflict  openssl

depends_lib-append  port:kdelibs4 \
                    port:akonadi \
                    port:nepomuk-core \
                    port:boost \
                    port:libical \
                    port:openldap \
                    port:prison \
                    port:gpgme

#Suppress build of unused kioslave
patchfiles-append   patch-CMakeLists.diff

configure.args-append   -DMAILTRANSPORT_INPROCESS_SMTP=Off

livecheck.url       http://kde.mirrors.hoobly.com/stable/
livecheck.regex     (\\d+(\\.\\d+)+)
