# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 66069 2010-04-05 17:54:09Z snc@macports.org $

PortSystem          1.0
PortGroup           kde4 1.0

name                digikam
version             1.2.0
categories          kde kde4
maintainers         hyper-world.de:jan
platforms           darwin

description         Photo Management Program
long_description    Digital photo management program to import, organize, enhance, search and export your digital images.

homepage            http://www.digikam.org/
master_sites        sourceforge:digikam

checksums           md5     8f68022008cf1650924cc8688f176572 \
                    sha1    7f12caf737a05043c7a9a5291a448684e5a4e2e6

use_bzip2           yes

# The kdeedu4 dependency is for libmarblewidget.
depends_lib         port:libgphoto2 \
                    port:liblqr \
                    port:kdegraphics4

depends_run         port:kipi-plugins

variant geoloc description {Install with geo location functionality. This is not default, because it depends on kdeedu4 which does not build at all systems at the moment.} {
    depends_run-append \
        port:kdeedu4
}

variant no_kipi description {install without KIPI plugins} {
    depends_run-delete \
        port:kipi-plugins
}

configure.args-append   ../${distname}
