Commit cb8382c2 authored by olgeni's avatar olgeni
Browse files

Upgrade to version 1.0.0.

- Port was renamed to "bbmustache" upstream
- Remove unnecessary bsd.port.options.mk
parent 4c487a4b
......@@ -7640,3 +7640,4 @@ multimedia/avidemux2||2015-06-13|Branch no longer maintained upstream, use multi
multimedia/avidemux26|multimedia/avidemux|2015-06-13|Renamed
editors/zim|deskutils/zim|2015-06-18|Move to more appropriate category
net/py-ldap2|net/py-ldap|2015-06-18|Rename to better match upstream name
erlang-mustache|erlang-bbmustache|2015-06-21|Renamed upstream
......@@ -414,13 +414,13 @@
SUBDIR += eric4
SUBDIR += eric6
SUBDIR += eris
SUBDIR += erlang-bbmustache
SUBDIR += erlang-gen_leader
SUBDIR += erlang-gen_smtp
SUBDIR += erlang-getopt
SUBDIR += erlang-gproc
SUBDIR += erlang-ibrowse
SUBDIR += erlang-msgpack
SUBDIR += erlang-mustache
SUBDIR += erlang-protobuffs
SUBDIR += erlang-recon
SUBDIR += erlang-syslog
......
# $FreeBSD$
PORTNAME= mustache
PORTVERSION= 0.3.2
PORTNAME= bbmustache
PORTVERSION= 1.0.0
DISTVERSIONPREFIX=v
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
......@@ -21,23 +21,18 @@ GH_ACCOUNT= soranoba
ALL_TARGET= compile
.include <bsd.port.options.mk>
post-extract:
@${RM} ${WRKSRC}/rebar.lock
post-patch:
@${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/mustache.app.src
@${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
@${REINPLACE_CMD} -e 's/{vsn, git}/{vsn,"${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
post-build:
${LN} -s ${WRKSRC}/_build/default/lib/mustache/ebin ${WRKSRC}
${LN} -s ${WRKSRC}/_build/dev/lib/bbmustache/ebin ${WRKSRC}
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
......
SHA256 (soranoba-bbmustache-v1.0.0_GH0.tar.gz) = 4691c0c9c9c5d8d7962dd92ebe0c51d41c2c8533b2c52f777da8f90b9ef1eddd
SIZE (soranoba-bbmustache-v1.0.0_GH0.tar.gz) = 336063
--- rebar.config.orig 2015-06-21 04:13:38 UTC
+++ rebar.config
@@ -42,8 +42,6 @@
]},
{dev, [{deps,
[
- {reloader, ".*", {git, "git://github.com/sile/reloader.git", {branch, "master"}}},
- {edown, ".*", {git, "git://github.com/dwango/edown.git", {branch, "master"}}}
]}
]}
]}.
Mustache template engine for Erlang/OTP.
WWW: https://github.com/soranoba/mustache
WWW: https://github.com/soranoba/bbmustache
lib/erlang/lib/bbmustache-%%VERSION%%/ebin/bbmustache.app
lib/erlang/lib/bbmustache-%%VERSION%%/ebin/bbmustache.beam
lib/erlang/lib/bbmustache-%%VERSION%%/src/bbmustache.app.src
lib/erlang/lib/bbmustache-%%VERSION%%/src/bbmustache.erl
%%PORTDOCS%%%%DOCSDIR%%/README.md
SHA256 (soranoba-mustache-v0.3.2_GH0.tar.gz) = 8be8741c6f17c210317056251e48d7c75b747c0136786023e1e434322a9a5261
SIZE (soranoba-mustache-v0.3.2_GH0.tar.gz) = 336289
--- 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"}}}
]}.
--- 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,
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment