# $Id: Portfile,v 1.2 2005/08/11 21:33:23 rshaw Exp $
PortSystem		1.0

name			echoping
version			5.2.0
categories		net
maintainers		darwinports@opendarwin.org
description		small program to test approximate network performance
long_description	echoping is a small program to test (approximatively) \
					performances of a remote host by sending it TCP \
					"echo" (or other protocol, like HTTP) packets.
homepage		http://echoping.sourceforge.net/
master_sites	sourceforge
checksums		md5 aef46a1d09a1083e99eb5e18e9184af2
platforms		darwin

configure.args	--enable-http \
				--enable-icp \
				--enable-smtp \
				--enable-ttcp \
				--enable-tos \
				--disable-priority \
				--without-libidn \
				--without-gnutls \
				--without-ssl \
				--mandir=${prefix}/share/man

variant idn {
	depends_lib-append		lib:libidn.11:libidn
	configure.args-append	--with-libidn
}

variant gnutls {
	depends_lib-append		lib:libgnutls.11:gnutls
	configure.args-append	--with-gnutls
}

variant ssl {
	depends_lib-append		lib:libssl.0.9:openssl
	configure.args-append	--with-ssl
}

