Source
PortSystem 1.0
PortGroup ruby 1.0
ruby.setup sys-uptime 0.4.1 extconf.rb {README doc} \
sourceforge:ruby-sysutils
license {Ruby GPL-2}
maintainers nomaintainer
description 'uptime' information via Ruby - C extension
long_description A Ruby interface to the 'uptime' command. This is a \
C extension, not parsed output.
categories-append sysutils
checksums md5 96eb9dc60704b3ccb5a8cc895f7c1040
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_uptime.rb