BSD Ports

textproc/ruby-tilt 2.9.0 NetBSD

Generic interface to multiple Ruby template engines

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
cdbe70aa90
License
mit
Categories
textproc, ruby
Package size
76.4 KiB, 215.8 KiB installed

Description

Tilt is a thin interface over a bunch of different Ruby template engines in an attempt to make their usage as generic as 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.

Install

Binary package:

pkgin install ruby33-tilt

From pkgsrc:

cd /usr/pkgsrc/textproc/ruby-tilt && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.9.0
NetBSD 10.1 aarch642.7.0
SmartOS / illumos x86_642.9.0
macOS 15 arm642.9.0

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-tilt-2.9.0, ruby40-tilt-2.9.0

Commit history 2

DateCommitCreditsLog message
cdbe70aa90 taca textproc/ruby-tilt: update to 2.9.0
2.9.0 (2026-08-17) * Add Herb template, registered for .herb and .html.erb (marcoroth) (#30)
13cb05454d taca textproc/ruby-tilt: update to 2.8.0
2.8.0 (2026-07-06) * Support rdoc 8 in the rdoc template (jeremyevans) * Support options added in recent Commonmarker versions in the Commonmarker template (halo) (#26)