aboutsummaryrefslogtreecommitdiff
path: root/textproc/rubygem-mustache
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/rubygem-mustache')
-rw-r--r--textproc/rubygem-mustache/Makefile16
-rw-r--r--textproc/rubygem-mustache/distinfo3
-rw-r--r--textproc/rubygem-mustache/pkg-descr13
3 files changed, 32 insertions, 0 deletions
diff --git a/textproc/rubygem-mustache/Makefile b/textproc/rubygem-mustache/Makefile
new file mode 100644
index 000000000000..48220ff6a17e
--- /dev/null
+++ b/textproc/rubygem-mustache/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+PORTNAME= mustache
+PORTVERSION= 1.0.3
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@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>
diff --git a/textproc/rubygem-mustache/distinfo b/textproc/rubygem-mustache/distinfo
new file mode 100644
index 000000000000..88dd1fed34cb
--- /dev/null
+++ b/textproc/rubygem-mustache/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486566333
+SHA256 (rubygem/mustache-1.0.3.gem) = 4ed9d389e41c54f000ad33bba6d1939a5685c0a0c3eb02d707fc21bddf6e97ec
+SIZE (rubygem/mustache-1.0.3.gem) = 40960
diff --git a/textproc/rubygem-mustache/pkg-descr b/textproc/rubygem-mustache/pkg-descr
new file mode 100644
index 000000000000..7eb27125d214
--- /dev/null
+++ b/textproc/rubygem-mustache/pkg-descr
@@ -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