From owner-svn-ports-all@FreeBSD.ORG Tue May 12 14:02:20 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01938516; Tue, 12 May 2015 14:02:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D698011B8; Tue, 12 May 2015 14:02:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4CE2JcR084427; Tue, 12 May 2015 14:02:19 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4CE2IA8084416; Tue, 12 May 2015 14:02:18 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201505121402.t4CE2IA8084416@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Tue, 12 May 2015 14:02:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386151 - in head/devel: . erlang-mustache erlang-mustache/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2015 14:02:20 -0000 Author: olgeni Date: Tue May 12 14:02:17 2015 New Revision: 386151 URL: https://svnweb.freebsd.org/changeset/ports/386151 Log: Add devel/erlang-mustache, a Mustache template engine for Erlang. Added: head/devel/erlang-mustache/ head/devel/erlang-mustache/Makefile (contents, props changed) head/devel/erlang-mustache/distinfo (contents, props changed) head/devel/erlang-mustache/files/ head/devel/erlang-mustache/files/patch-rebar.config (contents, props changed) head/devel/erlang-mustache/files/patch-src_mustache.app.src (contents, props changed) head/devel/erlang-mustache/pkg-descr (contents, props changed) head/devel/erlang-mustache/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue May 12 13:52:06 2015 (r386150) +++ head/devel/Makefile Tue May 12 14:02:17 2015 (r386151) @@ -410,6 +410,7 @@ SUBDIR += eric6 SUBDIR += eris SUBDIR += erlang-msgpack + SUBDIR += erlang-mustache SUBDIR += erlang-protobuffs SUBDIR += esdl SUBDIR += etcd Added: head/devel/erlang-mustache/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-mustache/Makefile Tue May 12 14:02:17 2015 (r386151) @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= mustache +PORTVERSION= 0.3.0 +DISTVERSIONPREFIX=v +CATEGORIES= devel +PKGNAMEPREFIX= erlang- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Mustache template engine for Erlang + +LICENSE= MIT + +BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PLIST_SUB= VERSION="${PORTVERSION}" + +USE_GITHUB= yes +GH_ACCOUNT= soranoba + +ALL_TARGET= compile + +.include + +post-patch: + @${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/mustache.app.src + @${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig + +do-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} +.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin + ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + +.include Added: head/devel/erlang-mustache/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-mustache/distinfo Tue May 12 14:02:17 2015 (r386151) @@ -0,0 +1,2 @@ +SHA256 (soranoba-mustache-v0.3.0_GH0.tar.gz) = 829153de008de92702ae8fc9f9d3986fcdee16a2578e98c6495ba86ad15ba665 +SIZE (soranoba-mustache-v0.3.0_GH0.tar.gz) = 187846 Added: head/devel/erlang-mustache/files/patch-rebar.config ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-mustache/files/patch-rebar.config Tue May 12 14:02:17 2015 (r386151) @@ -0,0 +1,11 @@ +--- rebar.config.orig 2015-05-08 16:05:56 UTC ++++ rebar.config +@@ -36,8 +36,4 @@ + + {deps, + [ +- {meck, ".*", {git, "git://github.com/eproxus/meck.git", {tag, "0.8.2"}}}, +- {reloader, ".*", {git, "git://github.com/sile/reloader.git", {branch, "master"}}}, +- {edown, ".*", {git, "git://github.com/dwango/edown.git", {branch, "master"}}}, +- {eunit_formatters, ".*", {git, "git://github.com/seancribbs/eunit_formatters", {branch, "master"}}} + ]}. Added: head/devel/erlang-mustache/files/patch-src_mustache.app.src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-mustache/files/patch-src_mustache.app.src Tue May 12 14:02:17 2015 (r386151) @@ -0,0 +1,11 @@ +--- src/mustache.app.src.orig 2015-05-12 13:41:59 UTC ++++ src/mustache.app.src +@@ -2,7 +2,7 @@ + {application, mustache, + [ + {description, "Mustache template engine for Erlang/OTP"}, +- {vsn, git}, ++ {vsn, "%%PORTVERSION%%"}, + {registered, []}, + {applications, [ + kernel, Added: head/devel/erlang-mustache/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-mustache/pkg-descr Tue May 12 14:02:17 2015 (r386151) @@ -0,0 +1,3 @@ +Mustache template engine for Erlang/OTP. + +WWW: https://github.com/soranoba/mustache Added: head/devel/erlang-mustache/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-mustache/pkg-plist Tue May 12 14:02:17 2015 (r386151) @@ -0,0 +1,5 @@ +lib/erlang/lib/mustache-%%VERSION%%/ebin/mustache.app +lib/erlang/lib/mustache-%%VERSION%%/ebin/mustache.beam +lib/erlang/lib/mustache-%%VERSION%%/src/mustache.app.src +lib/erlang/lib/mustache-%%VERSION%%/src/mustache.erl +%%PORTDOCS%%%%DOCSDIR%%/README.md