# -*- 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 114667 2013-12-13 17:11:42Z cal@macports.org $

PortSystem          1.0

name                liboping
conflicts           liboping-devel
version             1.6.2
revision            1
categories          net
platforms           darwin
license             LGPL-2.1 GPL-2
maintainers         danner.de:daniel openmaintainer
description         C library and program for ICMP echo requests
long_description    C library and ncurses-based frontend to generate ICMP echo requests to multiple hosts in parallel
homepage            http://verplant.org/liboping/
master_sites        http://verplant.org/liboping/files/

checksums           sha256  1b3203e5f13b35a6f7ff163c26e4f42284a625fa30d3bdbfdafb6cccb1f33803 \
                    rmd160  dba0ef28e2ff168d7c370196247f608f5628bf88

depends_lib         port:ncurses \
                    path:bin/perl:perl5

post-destroot {
    fs-traverse f ${destroot}${prefix} {
        if {[file isfile ${f}]} {
            switch [file tail ${f}] {
                .packlist -
                perllocal.pod {
                    delete ${f}
                }
            }
        }
    }
}
