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

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.16 5.18 5.20 5.22
perl5.setup         net 3.06 Net/SHAY
license             {Artistic-1 GPL}
maintainers         nomaintainer

description         libnet is a collection of Perl modules which provides a simple \
                    and consistent programming interface (API) to the client side \
                    of various protocols used in the internet community.

long_description    ${description}

homepage            http://search.cpan.org/dist/libnet/
distname            libnet-${perl5.moduleversion}

checksums           rmd160  610e7f4824eb694c19ffdd05eab096e5f978cd5e \
                    sha256  e5e6e397c3e1ce8959b58e2e30ba6fe1abf24b95af999b7d8448d3b89f95b6b6

platforms           darwin

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-extutils-makemaker

    depends_lib-append \
                    port:p${perl5.major}-socket
    
    supported_archs noarch
}

livecheck.type      regex
livecheck.url       http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/
livecheck.regex     {libnet-(\d+(?:\.\d+)*)}