# -*- 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

PortSystem              1.0

name                    nload
version                 0.7.4
revision                1
categories              net
maintainers             {raphael @raphael-st} openmaintainer
description             A console application which monitors network traffic \
                        and bandwidth usage in real time
long_description        nload is a console application which monitors network \
                        traffic and bandwidth usage in real time. It visualizes \
                        the in- and outgoing traffic using two graphs and provides \
                        additional info like total amount of transfered data and \
                        min/max network usage.
homepage                http://www.roland-riegel.de/nload/
license                 GPL-2+
platforms               darwin

master_sites            sourceforge

checksums               rmd160  77eb199ee73fdc45b25b0e246c2ba73fa6efe779 \
                        sha256  c1c051e7155e26243d569be5d99c744d8620e65fa8a7e05efcf84d01d9d469e5

depends_lib             port:ncurses

patchfiles              patch-configure.in.diff

use_autoreconf          yes
configure.args          --enable-debug

post-destroot {         set docdir ${destroot}${prefix}/share/doc/${name}
                        xinstall -d ${docdir}
                        xinstall -m 644 -W ${worksrcpath} \
                            AUTHORS \
                            COPYING \
                            ChangeLog \
                            README \
                            ${docdir}
}