Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
hardenedbsd-ports
Commits
5882427d
Commit
5882427d
authored
May 12, 2015
by
olgeni
Browse files
Add devel/erlang-mustache, a Mustache template engine for Erlang.
parent
9eb457b3
Changes
7
Hide whitespace changes
Inline
Side-by-side
devel/Makefile
View file @
5882427d
...
...
@@ -410,6 +410,7 @@
SUBDIR
+=
eric6
SUBDIR
+=
eris
SUBDIR
+=
erlang-msgpack
SUBDIR
+=
erlang-mustache
SUBDIR
+=
erlang-protobuffs
SUBDIR
+=
esdl
SUBDIR
+=
etcd
...
...
devel/erlang-mustache/Makefile
0 → 100644
View file @
5882427d
# $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
<bsd.port.options.mk>
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
<bsd.port.mk>
devel/erlang-mustache/distinfo
0 → 100644
View file @
5882427d
SHA256 (soranoba-mustache-v0.3.0_GH0.tar.gz) = 829153de008de92702ae8fc9f9d3986fcdee16a2578e98c6495ba86ad15ba665
SIZE (soranoba-mustache-v0.3.0_GH0.tar.gz) = 187846
devel/erlang-mustache/files/patch-rebar.config
0 → 100644
View file @
5882427d
---
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"
}}}
]}.
devel/erlang-mustache/files/patch-src_mustache.app.src
0 → 100644
View file @
5882427d
--- 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,
devel/erlang-mustache/pkg-descr
0 → 100644
View file @
5882427d
Mustache template engine for Erlang/OTP.
WWW: https://github.com/soranoba/mustache
devel/erlang-mustache/pkg-plist
0 → 100644
View file @
5882427d
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment