# $Id: Portfile 76604 2011-03-02 01:49:46Z dports@macports.org $

PortSystem                      1.0
PortGroup                       perl5 1.0
perl5.setup                     Nmap-Scanner 1.0
revision        1

maintainers                     nomaintainer

description                     Perform and manipulate nmap scans using perl

long_description                Nmap::Scanner perlifies the output of the network mapping tool \
				nmap (http://www.insecure.org/nmap/), creating lists of model \
				objects in batch scan mode or firing events when significant \
				scanning events occur in event scan mode.

platforms                       darwin
checksums                       md5  af12a5cfeaca9b42eb6497e1cf7655eb

depends_lib-append		port:nmap \
				port:p5-class-generate \
				port:p5-xml-libxml \
				port:p5-xml-sax

supported_archs noarch

post-patch {
	reinplace "s|/usr/local|${prefix}|g" \
		${worksrcpath}/lib/Nmap/Scanner/Scanner.pm

}
