py-libnamebench: unified port, updated to 1.3.1

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@89883 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
David Baumgold
2012-02-14 03:12:51 +00:00
parent ea82f77206
commit 719825fcae
@@ -1,11 +1,12 @@
# $Id$
PortSystem 1.0
PortGroup python26 1.0
PortGroup python 1.0
name py26-libnamebench
name py-libnamebench
python.versions 24 25 26 27
set real_name namebench
version 1.3
version 1.3.1
maintainers singingwolfboy openmaintainer
license Apache-2.0
description DNS speed benchmark tool (CLI)
@@ -20,20 +21,21 @@ long_description \
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
checksums md5 24bfbae12ed0f737562931439dd89ff5 \
sha1 d3fe7f3791bc7a7b3a23f54fa6ca7ca5f76f2ad5 \
rmd160 14f2dfe849170f9b97050d9dba9776ef536b7ddf
# 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
depends_lib-append port:py26-dnspython \
port:py26-httplib2 \
port:py26-jinja2 \
port:py26-graphy
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
}