diff options
Diffstat (limited to 'textproc/ruby-tilt')
-rw-r--r-- | textproc/ruby-tilt/ALTERNATIVES | 1 | ||||
-rw-r--r-- | textproc/ruby-tilt/DESCR | 17 | ||||
-rw-r--r-- | textproc/ruby-tilt/Makefile | 16 | ||||
-rw-r--r-- | textproc/ruby-tilt/PLIST | 59 | ||||
-rw-r--r-- | textproc/ruby-tilt/distinfo | 5 |
5 files changed, 98 insertions, 0 deletions
diff --git a/textproc/ruby-tilt/ALTERNATIVES b/textproc/ruby-tilt/ALTERNATIVES new file mode 100644 index 00000000000..51b7bfafe6b --- /dev/null +++ b/textproc/ruby-tilt/ALTERNATIVES @@ -0,0 +1 @@ +bin/tilt @PREFIX@/bin/tilt@RUBY_VER@ diff --git a/textproc/ruby-tilt/DESCR b/textproc/ruby-tilt/DESCR new file mode 100644 index 00000000000..14067874801 --- /dev/null +++ b/textproc/ruby-tilt/DESCR @@ -0,0 +1,17 @@ +Tilt is a thin interface over a bunch of different Ruby template engines in +an attempt to make their usage as generic possible. This is useful for web +frameworks, static site generators, and other systems that support multiple +template engines but don't want to code for each of them individually. + +The following features are supported for all template engines (assuming the +feature is relevant to the engine): + + * Custom template evaluation scopes / bindings + * Ability to pass locals to template evaluation + * Support for passing a block to template evaluation for "yield" + * Backtraces with correct filenames and line numbers + * Template file caching and reloading + * Fast, method-based template source compilation + +The primary goal is to get all of the things listed above right for all +template engines included in the distribution. diff --git a/textproc/ruby-tilt/Makefile b/textproc/ruby-tilt/Makefile new file mode 100644 index 00000000000..f5fc3eded48 --- /dev/null +++ b/textproc/ruby-tilt/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/08/06 13:10:18 obache Exp $ + +DISTNAME= tilt-1.3.2 +CATEGORIES= textproc + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://github.com/rtomayko/tilt/ +COMMENT= Generic interface to multiple Ruby template engines +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +RUBYGEM_OPTIONS+= --format-executable + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-tilt/PLIST b/textproc/ruby-tilt/PLIST new file mode 100644 index 00000000000..765e5ab4c8d --- /dev/null +++ b/textproc/ruby-tilt/PLIST @@ -0,0 +1,59 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/08/06 13:10:18 obache Exp $ +bin/tilt${RUBY_VER} +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/COPYING +${GEM_LIBDIR}/README.md +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/TEMPLATES.md +${GEM_LIBDIR}/bin/tilt +${GEM_LIBDIR}/lib/tilt.rb +${GEM_LIBDIR}/lib/tilt/builder.rb +${GEM_LIBDIR}/lib/tilt/coffee.rb +${GEM_LIBDIR}/lib/tilt/creole.rb +${GEM_LIBDIR}/lib/tilt/css.rb +${GEM_LIBDIR}/lib/tilt/erb.rb +${GEM_LIBDIR}/lib/tilt/haml.rb +${GEM_LIBDIR}/lib/tilt/liquid.rb +${GEM_LIBDIR}/lib/tilt/markaby.rb +${GEM_LIBDIR}/lib/tilt/markdown.rb +${GEM_LIBDIR}/lib/tilt/nokogiri.rb +${GEM_LIBDIR}/lib/tilt/radius.rb +${GEM_LIBDIR}/lib/tilt/rdoc.rb +${GEM_LIBDIR}/lib/tilt/string.rb +${GEM_LIBDIR}/lib/tilt/template.rb +${GEM_LIBDIR}/lib/tilt/textile.rb +${GEM_LIBDIR}/test/contest.rb +${GEM_LIBDIR}/test/markaby/locals.mab +${GEM_LIBDIR}/test/markaby/markaby.mab +${GEM_LIBDIR}/test/markaby/markaby_other_static.mab +${GEM_LIBDIR}/test/markaby/render_twice.mab +${GEM_LIBDIR}/test/markaby/scope.mab +${GEM_LIBDIR}/test/markaby/yielding.mab +${GEM_LIBDIR}/test/tilt_blueclothtemplate_test.rb +${GEM_LIBDIR}/test/tilt_buildertemplate_test.rb +${GEM_LIBDIR}/test/tilt_cache_test.rb +${GEM_LIBDIR}/test/tilt_coffeescripttemplate_test.rb +${GEM_LIBDIR}/test/tilt_compilesite_test.rb +${GEM_LIBDIR}/test/tilt_creoletemplate_test.rb +${GEM_LIBDIR}/test/tilt_erbtemplate_test.rb +${GEM_LIBDIR}/test/tilt_erubistemplate_test.rb +${GEM_LIBDIR}/test/tilt_fallback_test.rb +${GEM_LIBDIR}/test/tilt_hamltemplate_test.rb +${GEM_LIBDIR}/test/tilt_kramdown_test.rb +${GEM_LIBDIR}/test/tilt_lesstemplate_test.rb +${GEM_LIBDIR}/test/tilt_liquidtemplate_test.rb +${GEM_LIBDIR}/test/tilt_markaby_test.rb +${GEM_LIBDIR}/test/tilt_markdown_test.rb +${GEM_LIBDIR}/test/tilt_marukutemplate_test.rb +${GEM_LIBDIR}/test/tilt_nokogiritemplate_test.rb +${GEM_LIBDIR}/test/tilt_radiustemplate_test.rb +${GEM_LIBDIR}/test/tilt_rdiscounttemplate_test.rb +${GEM_LIBDIR}/test/tilt_rdoctemplate_test.rb +${GEM_LIBDIR}/test/tilt_redcarpettemplate_test.rb +${GEM_LIBDIR}/test/tilt_redclothtemplate_test.rb +${GEM_LIBDIR}/test/tilt_sasstemplate_test.rb +${GEM_LIBDIR}/test/tilt_stringtemplate_test.rb +${GEM_LIBDIR}/test/tilt_template_test.rb +${GEM_LIBDIR}/test/tilt_test.rb +${GEM_LIBDIR}/tilt.gemspec +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/textproc/ruby-tilt/distinfo b/textproc/ruby-tilt/distinfo new file mode 100644 index 00000000000..ed7385d9a19 --- /dev/null +++ b/textproc/ruby-tilt/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/08/06 13:10:18 obache Exp $ + +SHA1 (tilt-1.3.2.gem) = afe9478c001f9d193c54fd254d3214bc940bc2cc +RMD160 (tilt-1.3.2.gem) = a6fd229332676ced3f9810ee2b9c5b1e4295248b +Size (tilt-1.3.2.gem) = 34304 bytes |