mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
21 lines
593 B
Plaintext
21 lines
593 B
Plaintext
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
|