summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authornils <nils@pkgsrc.org>2017-08-21 11:49:31 +0000
committernils <nils@pkgsrc.org>2017-08-21 11:49:31 +0000
commit321d7282f2da3107ae80defdd4a9ee36ea41c0d3 (patch)
tree2c34d92979d0b717cf5a79761b65ea85d4e67e76 /devel
parent2d37dbefb624355877d3e1cbdf8458ec935752a9 (diff)
downloadpkgsrc-321d7282f2da3107ae80defdd4a9ee36ea41c0d3.tar.gz
Initial import of ruby-mustache, version 1.0.5, into pkgsrc.
Inspired by ctemplate and et, 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." For a list of implementations (other than Ruby) and tips, see http://mustache.github.io/.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-mustache/DESCR6
-rw-r--r--devel/ruby-mustache/Makefile21
-rw-r--r--devel/ruby-mustache/PLIST78
-rw-r--r--devel/ruby-mustache/distinfo6
4 files changed, 111 insertions, 0 deletions
diff --git a/devel/ruby-mustache/DESCR b/devel/ruby-mustache/DESCR
new file mode 100644
index 00000000000..c21464e75a7
--- /dev/null
+++ b/devel/ruby-mustache/DESCR
@@ -0,0 +1,6 @@
+Inspired by ctemplate and et, 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."
+For a list of implementations (other than Ruby) and tips, see
+http://mustache.github.io/.
diff --git a/devel/ruby-mustache/Makefile b/devel/ruby-mustache/Makefile
new file mode 100644
index 00000000000..fae2c6716ca
--- /dev/null
+++ b/devel/ruby-mustache/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/08/21 11:49:31 nils Exp $
+
+DISTNAME= mustache-1.0.5
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+
+MAINTAINER= nils@NetBSD.org
+HOMEPAGE= https://mustache.github.io/
+COMMENT= Logic-less Ruby templates
+LICENSE= mit
+
+RUBYGEM_OPTIONS+= --format-executable
+
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+
+post-install:
+ ${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${RUBY_PKGPREFIX}-mustache.1
+ ${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/${RUBY_PKGPREFIX}-mustache.5
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-mustache/PLIST b/devel/ruby-mustache/PLIST
new file mode 100644
index 00000000000..03c5c486972
--- /dev/null
+++ b/devel/ruby-mustache/PLIST
@@ -0,0 +1,78 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/21 11:49:31 nils Exp $
+bin/mustache${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/mustache
+${GEM_LIBDIR}/lib/mustache.rb
+${GEM_LIBDIR}/lib/mustache/context.rb
+${GEM_LIBDIR}/lib/mustache/context_miss.rb
+${GEM_LIBDIR}/lib/mustache/enumerable.rb
+${GEM_LIBDIR}/lib/mustache/generator.rb
+${GEM_LIBDIR}/lib/mustache/parser.rb
+${GEM_LIBDIR}/lib/mustache/settings.rb
+${GEM_LIBDIR}/lib/mustache/template.rb
+${GEM_LIBDIR}/lib/mustache/utils.rb
+${GEM_LIBDIR}/lib/mustache/version.rb
+${GEM_LIBDIR}/man/mustache.1
+${GEM_LIBDIR}/man/mustache.1.html
+${GEM_LIBDIR}/man/mustache.1.ron
+${GEM_LIBDIR}/man/mustache.5
+${GEM_LIBDIR}/man/mustache.5.html
+${GEM_LIBDIR}/man/mustache.5.ron
+${GEM_LIBDIR}/test/autoloading_test.rb
+${GEM_LIBDIR}/test/fixtures/comments.mustache
+${GEM_LIBDIR}/test/fixtures/comments.rb
+${GEM_LIBDIR}/test/fixtures/complex_view.mustache
+${GEM_LIBDIR}/test/fixtures/complex_view.rb
+${GEM_LIBDIR}/test/fixtures/crazy_recursive.mustache
+${GEM_LIBDIR}/test/fixtures/crazy_recursive.rb
+${GEM_LIBDIR}/test/fixtures/delimiters.mustache
+${GEM_LIBDIR}/test/fixtures/delimiters.rb
+${GEM_LIBDIR}/test/fixtures/dot_notation.mustache
+${GEM_LIBDIR}/test/fixtures/dot_notation.rb
+${GEM_LIBDIR}/test/fixtures/double_section.mustache
+${GEM_LIBDIR}/test/fixtures/double_section.rb
+${GEM_LIBDIR}/test/fixtures/escaped.mustache
+${GEM_LIBDIR}/test/fixtures/escaped.rb
+${GEM_LIBDIR}/test/fixtures/inner_partial.mustache
+${GEM_LIBDIR}/test/fixtures/inner_partial.txt
+${GEM_LIBDIR}/test/fixtures/inverted_section.mustache
+${GEM_LIBDIR}/test/fixtures/inverted_section.rb
+${GEM_LIBDIR}/test/fixtures/lambda.mustache
+${GEM_LIBDIR}/test/fixtures/lambda.rb
+${GEM_LIBDIR}/test/fixtures/liberal.mustache
+${GEM_LIBDIR}/test/fixtures/liberal.rb
+${GEM_LIBDIR}/test/fixtures/method_missing.rb
+${GEM_LIBDIR}/test/fixtures/namespaced.mustache
+${GEM_LIBDIR}/test/fixtures/namespaced.rb
+${GEM_LIBDIR}/test/fixtures/nested_objects.mustache
+${GEM_LIBDIR}/test/fixtures/nested_objects.rb
+${GEM_LIBDIR}/test/fixtures/node.mustache
+${GEM_LIBDIR}/test/fixtures/partial_with_module.mustache
+${GEM_LIBDIR}/test/fixtures/partial_with_module.rb
+${GEM_LIBDIR}/test/fixtures/passenger.conf
+${GEM_LIBDIR}/test/fixtures/passenger.rb
+${GEM_LIBDIR}/test/fixtures/recursive.mustache
+${GEM_LIBDIR}/test/fixtures/recursive.rb
+${GEM_LIBDIR}/test/fixtures/simple.mustache
+${GEM_LIBDIR}/test/fixtures/simple.rb
+${GEM_LIBDIR}/test/fixtures/simply_complicated.mustache
+${GEM_LIBDIR}/test/fixtures/template_partial.mustache
+${GEM_LIBDIR}/test/fixtures/template_partial.rb
+${GEM_LIBDIR}/test/fixtures/template_partial.txt
+${GEM_LIBDIR}/test/fixtures/unescaped.mustache
+${GEM_LIBDIR}/test/fixtures/unescaped.rb
+${GEM_LIBDIR}/test/fixtures/utf8.mustache
+${GEM_LIBDIR}/test/fixtures/utf8_partial.mustache
+${GEM_LIBDIR}/test/helper.rb
+${GEM_LIBDIR}/test/mustache_test.rb
+${GEM_LIBDIR}/test/parser_test.rb
+${GEM_LIBDIR}/test/partial_test.rb
+${GEM_LIBDIR}/test/spec_test.rb
+${GEM_LIBDIR}/test/template_test.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
+man/man1/${RUBY_PKGPREFIX}-mustache.1
+man/man5/${RUBY_PKGPREFIX}-mustache.5
+@pkgdir lib/ruby/gems/2.0.0/build_info
diff --git a/devel/ruby-mustache/distinfo b/devel/ruby-mustache/distinfo
new file mode 100644
index 00000000000..b107ac1ac12
--- /dev/null
+++ b/devel/ruby-mustache/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/21 11:49:31 nils Exp $
+
+SHA1 (mustache-1.0.5.gem) = ea169a2b7d3be2cf5e9ed210e3ffcb557f355303
+RMD160 (mustache-1.0.5.gem) = ee84d2d0349176915c71aca56ad460a41371c9a2
+SHA512 (mustache-1.0.5.gem) = d9b2c55d758bd4e317732307b513e2a079b04ec7a1203233834fd08a3a32f7b1bf8283d207af2f7082a8c4847f9c5955a557f19bad9b08a1dee2f32417eca190
+Size (mustache-1.0.5.gem) = 41984 bytes