# $Id: Portfile 77768 2011-04-12 00:54:59Z victor@macports.org $

PortSystem    1.0

name          lft
version       3.32
categories    net security
maintainers   victor@macports.org
description   Layer Four Traceroute - advanced traceroute tool
long_description LFT, short for Layer Four Traceroute, is a \
    sort of 'traceroute' that often works much \
    faster (than the commonly-used Van Jacobson \
    method) and goes through many configurations \
    of firewalls. More importantly, LFT \
    implements numerous other features including \
    firewall detection and identification, load \
    balancer detection, AS number lookups, \
    loose source routing, netblock name lookups,\
    et al.  Also includes whob, a prefix whois client.
homepage      http://pwhois.org/lft
platforms     darwin
master_sites  http://pwhois.org/get/

checksums     md5 5f09c9ad2475cb237b8277a2d69c569c\
              sha1 4c305329550ac76d080bf9fc176ef2c53f1b36e6\
              rmd160 050e480cdfdda4c7824a24d1ff978c4191d574b9

depends_lib   port:libpcap

configure.args    --mandir=\\\${prefix}/share/man

destroot.destdir  prefix=${destroot}${prefix}

variant universal description {Build universal binary} {
    configure.args-append \
            --enable-universal
}

variant gtod description {Use gettimeofday() instead of PCAP arrival time for latency metrics} {
    configure.args-append \
            --enable-gtod
}
