# -*- 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 55622 2009-08-14 22:57:44Z devans@macports.org $

PortSystem          1.0

name                libproxy
version             0.3.0
categories          net
maintainers         devans openmaintainer
platforms           darwin
homepage            http://code.google.com/p/${name}/
master_sites        googlecode

description         A library that provides automatic proxy configuration management.


long_description    Libproxy exists to answer the question: Given a \
                    network resource, how do I reach it? It handles all \
                    the details, enabling you to get back to programming.

checksums           md5     6ded75a6c6aef53be657ece207cc26c4 \
                    sha1    9d0d29b352a2cc4d9511d362bc02162eca91df59 \
                    rmd160  270d216a1e9c1d174ffc1572d2bdaa30bb51d034

depends_build       port:pkgconfig

depends_lib         port:gconf \
                    port:python25 \
                    port:xorg-libXmu

configure.python    ${prefix}/bin/python2.5

configure.args      --without-webkit \
                    --without-kde \
                    --without-networkmanager \
                    --without-mozjs

variant no_x11 conflicts kde {
        configure.args-append --without-x11
        depends_lib-delete port:xorg-libXmu
}

variant kde conflicts no_x11 description {Enable kde plugin (requires X11)} {
        configure.args-delete --without-kde
}

livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
