# $Id: Portfile 69969 2010-07-24 12:49:28Z nox@macports.org $

PortSystem      1.0

name            klibido
version         0.2.5
platforms       darwin
categories      news
maintainers     nomaintainer
description     KDE Linux Binaries Downloader

long_description \
    KLibido is a KDE usenet news grabber for Linux.

homepage        http://klibido.sourceforge.net/
master_sites    sourceforge

checksums       md5     e343338541a3ff3f2983023ccc922af0 \
                sha1    ff6abf45ee7ba8e9b02aeb4eea9ead4049523cae \
                rmd160  cf1dd3acb4bf30343489ae1dcd3034ec6e3a94c3

set db_version  46

depends_lib     port:kdelibs3 \
                port:uudeview \
                port:db${db_version}

configure.args  --with-extra-includes=${prefix}/include:${prefix}/include/db${db_version} \
                --with-extra-libs=${prefix}/share/lib:${prefix}/lib/db${db_version} \
                --with-qt-dir=${prefix}/lib/qt3 \
                --without-arts

use_parallel_build  yes

platform darwin 9 {
    # http://developer.apple.com/qa/qa2007/qa1567.html
    configure.ldflags-append -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
}
