# $Id: Portfile 30239 2007-10-23 01:55:09Z jmpp@macports.org $

PortSystem 1.0

name			tcping
version			0.1
categories		net
platforms		darwin
maintainers		nomaintainer
description		ping on TCP-level
long_description	Like ping but on TCP-level. It connects to a host \
					(incl. portnumber) and disconnects. It then measures how \
					long this takes giving you an idea of the latency of the \
					tcp-service you're testing.

homepage		http://www.vanheusden.com/Linux/
master_sites	${homepage}
extract.suffix	.tgz
checksums		md5 f419709dfac386785f8fb886a011e8af

use_configure	no

destroot	{
	xinstall -m 755 ${worksrcpath}/tcping ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} license.txt readme.txt \
		${destroot}${prefix}/share/doc/${name}
}
