# $Id: Portfile 30250 2007-10-23 02:16:17Z jmpp@macports.org $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		sys-host 0.5.0 extconf.rb {doc} sourceforge:ruby-sysutils
maintainers		nomaintainer
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

