# -*- 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
PortGroup           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Net-Oping 1.21
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Net::Oping - ICMP latency measurement module using the oping library.
long_description    ${description}

platforms           darwin

checksums           rmd160  9c98e4e83e8f9857e8244002ea8db6399fe072f7 \
                    sha256  2af094f494b6e9d5a463eece9b4aac35f1604440477b7a1660b61fca484ca450 \
                    size    8000

if {${perl5.major} != ""} {
    depends_lib-append \
                    path:lib/pkgconfig/liboping.pc:liboping

    configure.args-append \
                    OPING_PREFIX=${prefix}
}
