BSD Ports

devel/rubygem-mustache 1.1.1 MidnightBSD

Framework-agnostic way to render logic-free views

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, rubygems

Description

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.

In the other systems

SystemPortVersion
MidnightBSDdevel/rubygem-mustache1.1.1
FreeBSDdevel/rubygem-mustache1.1.3
NetBSDdevel/mustache4.1
DragonFlydevel/rubygem-mustache1.1.1
HardenedBSDdevel/rubygem-mustache1.1.3
GhostBSDdevel/rubygem-mustache1.1.3

Install

Binary package:

mport install mustache

From mports:

cd /usr/mports/devel/rubygem-mustache && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mustache>0:devel/rubygem-mustache

Dependencies

Required by 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/mustache-1.1.1.gem4249690891fdd50b53919ca334c8c1031eada1215e78d226d5795e523d6123a2717d0
Master sites 1
  • RG