aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-02-08 15:21:53 +0000
committerSteve Wills <swills@FreeBSD.org>2017-02-08 15:21:53 +0000
commit8398a68c13696ca9dd54b5555c44aba17627e230 (patch)
tree2550d096f2661ea644e26fa643a3374e5cfee7a8
parente333dceb08f07d5f385bb3a85a621c24099b7c28 (diff)
Notes
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-mustache/Makefile16
-rw-r--r--textproc/rubygem-mustache/distinfo3
-rw-r--r--textproc/rubygem-mustache/pkg-descr13
4 files changed, 33 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 153ee077b94f..6b93593a318d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -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
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