# -*- 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 56011 2009-08-23 08:00:22Z ryandesign@macports.org $

PortSystem 1.0

name        mtr
version     0.75
categories  net
maintainers mr_bond
description 'traceroute' and 'ping' in a single tool
long_description    \
    As mtr starts,  it  investigates  the  network  connection \
    between  the  host  mtr  runs on and HOSTNAME.  by sending \
    packets with purposly low TTLs. It continues to send pack- \
    ets  with  low TTL, noting the response time of the inter- \
    vening routers.  This allows mtr  to  print  the  response \
    percentage  and  response  times  of the internet route to \
    HOSTNAME.  A sudden increase  in  packetloss  or  response \
    time  is  often  an  indication  of a bad (or simply over- \
    loaded) link.
homepage    http://www.bitwizard.nl/mtr/
platforms   darwin
master_sites    ftp://ftp.bitwizard.nl/mtr/ \
                macports:blair
checksums   md5 23baca52d0922c2ecba7eba05317868c \
            sha1 d9d3f849e32dda8aa5a7a297c25053e5d8504b27 \
            rmd160 d7df41c0c9b457eeff4034c9bc2f01456b8f6c68
configure.args-append --without-gtk

platform darwin 10 {
    configure.env-append LIBS=-lresolv
}
