[66552] trunk/dports/ruby

singingwolfboy at macports.org singingwolfboy at macports.org
Fri Apr 16 09:24:58 PDT 2010


Revision: 66552
          http://trac.macports.org/changeset/66552
Author:   singingwolfboy at macports.org
Date:     2010-04-16 09:24:55 -0700 (Fri, 16 Apr 2010)
Log Message:
-----------
New port: rb-mustache

Added Paths:
-----------
    trunk/dports/ruby/rb-mustache/
    trunk/dports/ruby/rb-mustache/Portfile

Added: trunk/dports/ruby/rb-mustache/Portfile
===================================================================
--- trunk/dports/ruby/rb-mustache/Portfile	                        (rev 0)
+++ trunk/dports/ruby/rb-mustache/Portfile	2010-04-16 16:24:55 UTC (rev 66552)
@@ -0,0 +1,30 @@
+# $Id$
+PortSystem		    1.0
+PortGroup		    ruby 1.0
+
+ruby.setup          mustache 0.10.0 gem
+maintainers		    singingwolfboy openmaintainer
+description		    Logic-less templates, implemented in Ruby.
+long_description	\
+    Inspired by ctemplate and et, Mustache is a framework-agnostic way to \
+    render logic-free views.
+license             MIT
+homepage		    http://mustache.github.com/
+master_sites        http://rubygems.org/downloads/
+checksums           md5     fa107351a80265149de08e6af9b4f477 \
+                    sha1    1ea270702d50745e0d6431cf212d81d18d0df916 \
+                    rmd160  644455c6a734a0ce205f501e0ec6c3a36360e849
+
+post-destroot {
+    set gemdir ${destroot}${prefix}/lib/ruby/gems/${ruby.version}/gems/${worksrcdir}
+    set mandir ${destroot}${prefix}/share/man/
+    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
+    xinstall -d ${docdir}
+    
+    xinstall ${gemdir}/man/${ruby.module}.1 ${mandir}/man1/
+    xinstall ${gemdir}/man/${ruby.module}.5 ${mandir}/man5/
+    xinstall -W ${gemdir} README.md LICENSE ${docdir}
+    eval xinstall [glob  ${gemdir}/man/*.html] ${docdir}
+}
+
+


Property changes on: trunk/dports/ruby/rb-mustache/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100416/eba641ae/attachment.html>


More information about the macports-changes mailing list