# $Id: Portfile 89883 2012-02-14 03:12:51Z singingwolfboy@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-libnamebench
python.versions     24 25 26 27
set real_name       namebench
version             1.3.1
maintainers         singingwolfboy openmaintainer
license             Apache-2.0
description         DNS speed benchmark tool (CLI)
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 only installs the command line interface -- for the Cocoa GUI \
    interface, install the "namebench" port.
    
homepage            http://code.google.com/p/namebench/
platforms           darwin
supported_archs     noarch
master_sites        googlecode:${real_name}
distname            ${real_name}-${version}-source
extract.suffix      .tgz
# store file in namebench port distfiles dir: both ports use the same file
dist_subdir         ${real_name}
checksums           rmd160  93d1186caf2a214ecf1966ee798f01d329ecfd64 \
                    sha256  30ccf9e870c1174c6bf02fca488f62bba280203a0b1e8e4d26f3756e1a5b9425
worksrcdir          ${real_name}-${version}
build.env-append    NO_THIRD_PARTY=true
destroot.env-append NO_THIRD_PARTY=true

if {${name} != ${subport}} {
    depends_lib-append  port:py${python.version}-dnspython \
                        port:py${python.version}-httplib2 \
                        port:py${python.version}-jinja2 \
                        port:py${python.version}-graphy
}
