# $Id: Portfile 67068 2010-04-28 11:17:34Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               perl5 1.0

perl5.setup             net 1.22 Net/GBARR
maintainers             markd openmaintainer
description             Perl5 modules to access and use network protocols. \
                        Also known as libnet.

long_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.

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

checksums               md5 ac82f4ea57113dabcce4b65d540a7a3a \
                        sha1 d3a84aa06da70f59598d6a49d70507a5b9a6e869 \
                        rmd160 52c254997440b95e195bd54d04dca5d736788e21

platforms               darwin

depends_lib-append		port:p5-authen-sasl \
			port:p5-digest \
			port:p5-digest-hmac \
			port:p5-digest-sha1 \
			port:p5-crypt-des \
			port:p5-gssapi

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}

livecheck.type  regex
livecheck.url   http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/cpan/authors/id/G/GB/GBARR/?C=M&O=D
livecheck.regex {libnet-(\d+(?:\.\d+)*)}

