textproc/lua-etlua 1.3.0 NetBSD
Embedded templates for Lua
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- textproc, lua
- Package size
- 4.5 KiB, 10.3 KiB installed
Description
Allows you to render ERB style templates but with Lua. Supports <% %>, <%= %> and <%- %> tags (with optional newline slurping) for embedding code.
How it works:
-
Templates are transparently translated into Lua code and then loaded as a function. Rendering a compiled template is very fast.
-
Any compile time errors are rewritten to show the original source position in the template.
-
The parser is aware of strings so you can put closing tags inside of a string literal without any problems.
Install
Binary package:
pkgin install lua51-etlua
From pkgsrc:
cd /usr/pkgsrc/textproc/lua-etlua && make install clean
Dependencies
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
lua52-etlua-1.3.0,lua53-etlua-1.3.0,lua54-etlua-1.3.0,lua55-etlua-1.3.0