313dc288a5
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. WWW: https://github.com/mustache/mustache PR: 217343 Submitted by: Sir l33tname <sirl33tname@gmail.com>
27 lines
512 B
Makefile
27 lines
512 B
Makefile
# Created by: Steve Wills <swills@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mustache
|
|
PORTVERSION= 0.99.8
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= RG
|
|
PKGNAMESUFFIX= 0
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Framework-agnostic way to render logic-free views
|
|
|
|
LICENSE= MIT
|
|
|
|
NO_ARCH= yes
|
|
USE_RUBY= yes
|
|
USES= gem
|
|
|
|
PLIST_FILES= bin/mustache${PKGNAMESUFFIX}
|
|
|
|
post-install:
|
|
@${MV} ${STAGEDIR}/${PREFIX}/bin/mustache \
|
|
${STAGEDIR}/${PREFIX}/bin/mustache${PKGNAMESUFFIX}
|
|
|
|
PORTSCOUT= limit:^0\.
|
|
|
|
.include <bsd.port.mk>
|