svn commit: r435804 - in head/devel: . rubygem-mustache0
Steve Wills
swills at FreeBSD.org
Thu Mar 9 21:53:20 UTC 2017
Author: swills
Date: Thu Mar 9 21:53:19 2017
New Revision: 435804
URL: https://svnweb.freebsd.org/changeset/ports/435804
Log:
devel/rubygem-mustache0: create port for 0.x version of mustache
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 at gmail.com>
Added:
head/devel/rubygem-mustache0/
- copied from r435645, head/devel/rubygem-mustache/
Modified:
head/devel/Makefile
head/devel/rubygem-mustache0/Makefile
head/devel/rubygem-mustache0/distinfo
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu Mar 9 21:50:29 2017 (r435803)
+++ head/devel/Makefile Thu Mar 9 21:53:19 2017 (r435804)
@@ -5351,6 +5351,7 @@
SUBDIR += rubygem-multi_test
SUBDIR += rubygem-murmurhash3
SUBDIR += rubygem-mustache
+ SUBDIR += rubygem-mustache0
SUBDIR += rubygem-mustermann
SUBDIR += rubygem-mustermann-grape
SUBDIR += rubygem-mutter
Modified: head/devel/rubygem-mustache0/Makefile
==============================================================================
--- head/devel/rubygem-mustache/Makefile Tue Mar 7 19:59:31 2017 (r435645)
+++ head/devel/rubygem-mustache0/Makefile Thu Mar 9 21:53:19 2017 (r435804)
@@ -2,9 +2,10 @@
# $FreeBSD$
PORTNAME= mustache
-PORTVERSION= 1.0.3
+PORTVERSION= 0.99.8
CATEGORIES= devel rubygems
MASTER_SITES= RG
+PKGNAMESUFFIX= 0
MAINTAINER= ruby at FreeBSD.org
COMMENT= Framework-agnostic way to render logic-free views
@@ -15,6 +16,12 @@ NO_ARCH= yes
USE_RUBY= yes
USES= gem
-PLIST_FILES= bin/mustache
+PLIST_FILES= bin/mustache${PKGNAMESUFFIX}
+
+post-install:
+ @${MV} ${STAGEDIR}/${PREFIX}/bin/mustache \
+ ${STAGEDIR}/${PREFIX}/bin/mustache${PKGNAMESUFFIX}
+
+PORTSCOUT= limit:^0\.
.include <bsd.port.mk>
Modified: head/devel/rubygem-mustache0/distinfo
==============================================================================
--- head/devel/rubygem-mustache/distinfo Tue Mar 7 19:59:31 2017 (r435645)
+++ head/devel/rubygem-mustache0/distinfo Thu Mar 9 21:53:19 2017 (r435804)
@@ -1,2 +1,3 @@
-SHA256 (rubygem/mustache-1.0.3.gem) = 4ed9d389e41c54f000ad33bba6d1939a5685c0a0c3eb02d707fc21bddf6e97ec
-SIZE (rubygem/mustache-1.0.3.gem) = 40960
+TIMESTAMP = 1487955769
+SHA256 (rubygem/mustache-0.99.8.gem) = 826a96db895819c13fffa4fa3c20b85e80b60aaec1f28f79e7db80092abdb0bc
+SIZE (rubygem/mustache-0.99.8.gem) = 43520
More information about the svn-ports-head
mailing list