Revision
68389
Author
singingwolfboy@macports.org
Date
2010-06-02 15:07:46 -0700 (Wed, 02 Jun 2010)

Log Message

New port: rb19-mustache

Added Paths

Diff

Added: trunk/dports/ruby/rb19-mustache/Portfile (0 => 68389)


--- trunk/dports/ruby/rb19-mustache/Portfile	                        (rev 0)
+++ trunk/dports/ruby/rb19-mustache/Portfile	2010-06-02 22:07:46 UTC (rev 68389)
@@ -0,0 +1,31 @@
+# $Id$
+PortSystem          1.0
+PortGroup           ruby 1.0
+
+ruby.setup          mustache 0.11.2 gem {} rubygems ruby19
+conflicts           rb-mustache
+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
+maintainers         singingwolfboy openmaintainer
+homepage            http://mustache.github.com/
+categories-append   www
+checksums           md5     dfb47d8cb0f5bfb418b86e5d135c58be \
+                    sha1    749ca4229922ef683a783e4ae69698b51b32ed6b \
+                    rmd160  108288fc3a319614c29e6c921dbbee0b0d3501e8
+
+post-destroot {
+    set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/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/rb19-mustache/Portfile
___________________________________________________________________

Added: svn:keywords

Added: svn:eol-style