# -*- 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-Frame 1.21
platforms           {darwin any}
license             Artistic-1
maintainers         nomaintainer

description         framework for crafting network packets

long_description    Net::Frame is a ${description}. \
                    It comes with a set of basic layers \
                    (e.g. Net::Frame::Layer::TCP). \
                    The different layer subclasses handle encoding and \
                    decoding of the given layer. \
                    It allows one to construct a protocol stack from the \
                    top to bottom layers and then inject those packets \
                    into the network for communication with other devices \
                    that talk the same protocol.

checksums           rmd160  157caf0bfabb195c9f28d9dd9c2acd2b82217087 \
                    sha256  bcb357a28b639f0caf7d62d33d2e60ff0bfccf894d007ce601f635513883d739 \
                    size    30151

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-bit-vector \
                    port:p${perl5.major}-net-ipv6addr \
                    port:p${perl5.major}-socket6 \
                    port:p${perl5.major}-class-gomor

    perl5.use_module_build
    supported_archs noarch
}
