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
license			{Ruby GPL-2}
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
