mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
PortSystem 1.0
|
|
PortGroup ruby 1.0
|
|
|
|
ruby.setup hirb 0.3.2 gem {} rubygems ruby19
|
|
description A mini view framework for console/irb that's easy to use
|
|
long_description \
|
|
Hirb currently provides a mini view framework for console applications, \
|
|
designed to improve irb's default output. Hirb improves console output \
|
|
by providing a smart pager and auto-formatting output. The smart pager \
|
|
detects when an output exceeds a screenful and thus only pages output \
|
|
as needed. Auto-formatting adds a view to an output's class. This is \
|
|
helpful in separating views from content (MVC anyone?). The framework \
|
|
encourages reusing views by letting you package them in classes and \
|
|
associate them with any number of output classes.
|
|
license MIT
|
|
platforms any
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
homepage http://tagaholic.me/hirb/
|
|
checksums md5 feb3c0bb7ae830a886b339538e1979f0 \
|
|
sha1 5f78bc710cf33179aea9e5740e5ce8829e69e418 \
|
|
rmd160 eb05d990ba984c15609715f89359b33a1012d6e9
|
|
|
|
post-destroot {
|
|
set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
|
|
set docdir ${destroot}${prefix}/share/doc/${ruby.module}
|
|
xinstall -d ${docdir}
|
|
xinstall -W ${gemdir} README.rdoc CHANGELOG.rdoc ${docdir}
|
|
}
|