# -*- 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 120210 2014-05-19 16:22:23Z nicos@macports.org $

PortSystem          1.0
PortGroup           kde4   1.1
PortGroup           muniversal 1.0

name                libkdcraw
version             4.12.5
categories          kde kde4
license             GPL-2+ LGPL-2+
maintainers         nicos openmaintainer
description         LibKDcraw is a C++ interface around LibRaw library used to decode RAW picture files.
long_description    LibKDcraw is a C++ interface around LibRaw library used to decode RAW picture files. \
                    This library is used by kipi-plugins, digiKam and others kipi host programs.
platforms           darwin
homepage            http://www.kde.org
master_sites        kde:stable/${version}/src/
use_xz              yes
distname            libkdcraw-${version}
checksums           rmd160  18a0b48528c651a689b4359fe6220aecd57fc0bd \
                    sha256  58f34377640b3c7ff5a236d7015f6fb52cd860b51355af777fe65c080959b90a

#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
license_noconflict  openssl

depends_lib-append  port:kdelibs4 \
                    port:jpeg \
                    port:lcms \
                    port:libraw

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