# -*- 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 118867 2014-04-13 20:43:32Z victor@macports.org $

PortSystem    1.0

name          lft
version       3.36
categories    net security
maintainers   victor
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.
license       Copyleft
homepage      http://pwhois.org/lft
platforms     darwin
master_sites  http://pwhois.org/get/

checksums     md5 bbbb649616990f5db5295d2cd38d5b13\
              sha1 f70a35b8340c1e0ff2a3435ec982e16bca3a0413\
              rmd160 dcb91b76a0cfdba6a427b336ccf50a986276404d

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
}
