# -*- 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 85035 2011-10-07 23:35:07Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Net-Frame 1.06
revision            2
platforms           darwin
license             Artistic-1
maintainers         nomaintainer
supported_archs     noarch

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           sha1    79af535c315b7acae9d7c3937aecdfea54730ca0 \
                    rmd160  c0dcfca5380a16152633c3dace289d0b8f2d4ffc

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
}
