source: trunk/dports/ruby/rb19-hirb/Portfile

Last change on this file was 103932, checked in by kimuraw@…, 5 years ago

ruby/: simplify Portfile with ${ruby.gemdir}, content not changed

${ruby.prog_suffix} and ${ruby.version} from PortGroup-ruby are obsoleted.
replace these values with ${ruby.gemdir} and ${ruby.lib}.

ports modified:

  • rb-bee
  • rb-easyjour
  • rb-mustache
  • rb-rttool
  • rb19-bcat
  • rb19-cheat
  • rb19-hirb
  • rb19-mustache
  • rb19-rdiscount
  • rb19-unicorn
  • rb19-wirble
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 103932 2013-03-10 10:48:31Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           ruby 1.0
5
6ruby.setup          hirb 0.3.2 gem {} rubygems ruby19
7description         A mini view framework for console/irb that's easy to use
8long_description    \
9    Hirb currently provides a mini view framework for console applications, \
10    designed to improve irb's default output. Hirb improves console output \
11    by providing a smart pager and auto-formatting output. The smart pager \
12    detects when an output exceeds a screenful and thus only pages output \
13    as needed. Auto-formatting adds a view to an output's class. This is \
14    helpful in separating views from content (MVC anyone?). The framework \
15    encourages reusing views by letting you package them in classes and \
16    associate them with any number of output classes.
17license             MIT
18maintainers         nomaintainer
19homepage            http://tagaholic.me/hirb/
20checksums           md5     feb3c0bb7ae830a886b339538e1979f0 \
21                    sha1    5f78bc710cf33179aea9e5740e5ce8829e69e418 \
22                    rmd160  eb05d990ba984c15609715f89359b33a1012d6e9
23
24post-destroot {
25    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
26    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
27    xinstall -d ${docdir}
28    xinstall -W ${gemdir} README.rdoc CHANGELOG.rdoc ${docdir}
29}
Note: See TracBrowser for help on using the repository browser.