# $Id: Portfile 89923 2012-02-15 18:45:46Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           xcode 1.0

name                namebench
version             1.3.1
categories          aqua sysutils
maintainers         singingwolfboy openmaintainer
license             Apache-2.0
description         DNS speed benchmark tool (GUI)
long_description    \
    namebench hunts down the fastest DNS servers available for your computer. \
    namebench runs a fair and thorough benchmark using your web browser history, \
    tcpdump output, or standardized datasets in order to provide an \
    individualized recommendation. \
    \
    This port installs the Cocoa GUI interface. To install just the command \
    line interface, which the Cocoa GUI interface depends on, install the \
    "py27-libnamebench" port.
    
homepage            http://code.google.com/p/namebench/
platforms           darwin
master_sites        googlecode:${name}
distname            ${name}-${version}-source
extract.suffix      .tgz
worksrcdir          ${name}-${version}/cocoa
patchfiles          project.diff
checksums           rmd160  93d1186caf2a214ecf1966ee798f01d329ecfd64 \
                    sha256  30ccf9e870c1174c6bf02fca488f62bba280203a0b1e8e4d26f3756e1a5b9425

variant python24 conflicts python25 python26 python27 {
    depends_lib         port:py24-libnamebench
}
variant python25 conflicts python24 python26 python27 {
    depends_lib         port:py25-libnamebench
}
variant python26 conflicts python24 python25 python27 {
    depends_lib         port:py26-libnamebench
}
variant python27 conflicts python24 python25 python26 {
    depends_lib         port:py27-libnamebench
}
default_variants    +python27
