# -*- 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 117977 2014-03-17 22:06:29Z macsforever2000@macports.org $

PortSystem          1.0

name                tcpick
version             0.2.1
revision            1
categories          net
license             GPL-2+
maintainers         nomaintainer

description         a tcp stream sniffer, tracker and capturer
long_description \
    tcpick is a textmode sniffer libpcap-based that can track, \
    reassemble and reorder tcp streams. Tcpick is able to save \
    the captured flows in different files or displays them in \
    the terminal, and so it is useful to sniff files that are \
    transmitted via ftp or http. It can display all the stream \
    on the terminal, when the connection is closed in different \
    display modes like hexdump, hexdump + ascii, only printable \
    charachters, raw mode and so on. Available a color mode \
    too, helpful to read and understand better the output of \
    the program. Actually it can handle several interfaces, \
    including ethernet cards and ppp. It is useful to keep \
    track of what users of a network are doing, and is usable \
    with textmode tools like grep, sed, awk.

homepage            http://tcpick.sourceforge.net/
platforms           darwin
master_sites        sourceforge

checksums           rmd160  8d4dd48c639e52ef681cd64c366a99c296171f06 \
                    sha256  cf3c3814518f5565df3884d07e1e3015d88ac1dbfe3885635dd6e67d6ce46dd2

depends_lib         port:libpcap

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

configure.cflags-append \
                    -std=gnu89
