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

Last change on this file was 103932, checked in by kimuraw@…, 4 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.1 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          bcat 0.5.0 gem {} rubygems ruby19
7description         pipe to browser utility
8long_description    \
9    bcat is a pipe to browser utility for use at the shell and within editors \
10    like Vim or Emacs. It reads from standard input, or one or more files, \
11    and streams output to a browser window.
12maintainers         nomaintainer
13homepage            http://rtomayko.github.com/bcat/
14platforms           darwin
15license             MIT
16checksums           md5     d9dce15b21a68992158fd7e5fadc9b8b \
17                    sha1    d02961767e510281b53cb5048a93b6ff5dba51da \
18                    rmd160  6e48619298cd7b8a6fa6b379485048b16dff1ff2
19
20post-destroot {
21    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
22    set mandir ${destroot}${prefix}/share/man/
23    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
24    xinstall -d ${docdir}
25
26    xinstall ${gemdir}/man/bcat.1 ${gemdir}/man/btee.1 ${gemdir}/man/a2h.1 \
27             ${mandir}/man1/
28    xinstall -W ${gemdir} \
29             CONTRIBUTING COPYING INSTALLING README man/index.html \
30             ${docdir}
31}
Note: See TracBrowser for help on using the repository browser.