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

Last change on this file was 115108, checked in by ryandesign@…, 4 years ago

rb19-mustache: update to 0.12.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 115108 2013-12-25 07:18:41Z ryandesign@macports.org $
2PortSystem          1.0
3PortGroup           ruby 1.0
4
5ruby.setup          mustache 0.12.1 gem {} rubygems ruby19
6conflicts           rb-mustache
7description         Logic-less templates, implemented in Ruby.
8long_description    \
9    Inspired by ctemplate and et, Mustache is a framework-agnostic way to \
10    render logic-free views.
11license             MIT
12maintainers         nomaintainer
13homepage            http://mustache.github.com/
14categories-append   www
15checksums           rmd160  d02fc0c7f108afb9d4ed0c4fe4c1d151aff9f103 \
16                    sha256  539f8613cf6154aefd290256ad2d5ff09b1c7f6529aca74b2941973bf56a2c52
17
18post-destroot {
19    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
20    set mandir ${destroot}${prefix}/share/man/
21    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
22    xinstall -d ${docdir}
23   
24    xinstall ${gemdir}/man/${ruby.module}.1 ${mandir}/man1/
25    xinstall ${gemdir}/man/${ruby.module}.5 ${mandir}/man5/
26    xinstall -W ${gemdir} README.md LICENSE ${docdir}
27    eval xinstall [glob  ${gemdir}/man/*.html] ${docdir}
28}
29
30
Note: See TracBrowser for help on using the repository browser.