# $Id: Portfile 86596 2011-10-29 07:28:05Z ryandesign@macports.org $

PortSystem 1.0

name		scanssh
version		2.1
revision        1
categories	net security
platforms	darwin
maintainers	nomaintainer
description	scanner for finding ssh servers and their software version
long_description	scanssh protocol scanner scans a list of addresses and \
			networks for running SSH protocol servers and their \
			version numbers. scanssh protocol scanner supports \
			random selection of IP addresses from large network \
			ranges and is useful for gathering statistics on the \
			deployment of SSH protocol servers in a company or the \
			Internet as whole.

homepage	http://monkey.org/~provos/scanssh/
master_sites	http://monkey.org/~provos/
checksums	md5 9fab4253b56b2d15367d4872b370cdcb

depends_lib	port:libpcap \
		port:libdnet \
		port:libevent

configure.args	--mandir=${prefix}/share/man

variant universal {}
build.args-append CC="${configure.cc} [get_canonical_archflags]"

post-destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
}
