svn commit: r433650 - in head/textproc: . rubygem-mustache
Steve Wills
swills at FreeBSD.org
Wed Feb 8 15:21:55 UTC 2017
Author: swills
Date: Wed Feb 8 15:21:53 2017
New Revision: 433650
URL: https://svnweb.freebsd.org/changeset/ports/433650
Log:
textproc/rubygem-mustache: create port
Inspired by ctemplate, Mustache is a framework-agnostic way to render
logic-free views.
As ctemplates says, "It emphasizes separating logic from presentation:
it is impossible to embed application logic in this template
language.
Think of Mustache as a replacement for your views. Instead of views
consisting of ERB or HAML with random helpers and arbitrary logic,
your views are broken into two parts: a Ruby class and an HTML
template.
WWW: https://github.com/mustache/mustache
Added:
head/textproc/rubygem-mustache/
head/textproc/rubygem-mustache/Makefile (contents, props changed)
head/textproc/rubygem-mustache/distinfo (contents, props changed)
head/textproc/rubygem-mustache/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Wed Feb 8 13:50:29 2017 (r433649)
+++ head/textproc/Makefile Wed Feb 8 15:21:53 2017 (r433650)
@@ -1485,6 +1485,7 @@
SUBDIR += rubygem-ltsv
SUBDIR += rubygem-markaby
SUBDIR += rubygem-multi_xml
+ SUBDIR += rubygem-mustache
SUBDIR += rubygem-nokogiri
SUBDIR += rubygem-nokogiri-diff
SUBDIR += rubygem-nokogiri14
Added: head/textproc/rubygem-mustache/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/rubygem-mustache/Makefile Wed Feb 8 15:21:53 2017 (r433650)
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+PORTNAME= mustache
+PORTVERSION= 1.0.3
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby at FreeBSD.org
+COMMENT= Mustache is a framework-agnostic way to render logic-free views
+
+USE_RUBY= yes
+USES= gem
+
+PLIST_FILES= bin/mustache
+
+.include <bsd.port.mk>
Added: head/textproc/rubygem-mustache/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/rubygem-mustache/distinfo Wed Feb 8 15:21:53 2017 (r433650)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486566333
+SHA256 (rubygem/mustache-1.0.3.gem) = 4ed9d389e41c54f000ad33bba6d1939a5685c0a0c3eb02d707fc21bddf6e97ec
+SIZE (rubygem/mustache-1.0.3.gem) = 40960
Added: head/textproc/rubygem-mustache/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/rubygem-mustache/pkg-descr Wed Feb 8 15:21:53 2017 (r433650)
@@ -0,0 +1,13 @@
+Inspired by ctemplate, Mustache is a framework-agnostic way to render
+logic-free views.
+
+As ctemplates says, "It emphasizes separating logic from presentation:
+it is impossible to embed application logic in this template
+language.
+
+Think of Mustache as a replacement for your views. Instead of views
+consisting of ERB or HAML with random helpers and arbitrary logic,
+your views are broken into two parts: a Ruby class and an HTML
+template.
+
+WWW: https://github.com/mustache/mustache
More information about the svn-ports-all
mailing list