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
20 lines
588 B
Plaintext
20 lines
588 B
Plaintext
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
|