# $Id: Portfile,v 1.4 2005/08/11 21:33:36 rshaw Exp $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		sys-host 0.5.0 extconf.rb {doc} sourceforge:ruby-sysutils
maintainers		darwinports@opendarwin.org
description		hostname and ip address info via Ruby - C extension
long_description	A C extension that provides hostname and IP address \
					information about the current host.
categories-append	sysutils
checksums		md5 5bc3e5fe03eaff5196070f75de658d08
platforms		darwin

pre-configure	{ reinplace "s|exit!|exit|" ${worksrcpath}/extconf.rb }

test.run		yes
test.dir		${worksrcpath}/test
test.cmd		${ruby.bin}
test.target		tc_host.rb

