aboutsummaryrefslogtreecommitdiff
path: root/devel/erlang-folsom
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2015-07-06 10:55:35 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2015-07-06 10:55:35 +0000
commitc75afdbf0f410d96cfd83a367b46fa0750844887 (patch)
treed68be733377769f48fd1cfa1b5cc5a9a355c6aaa /devel/erlang-folsom
parentc5868756149ce9cccf97a51f4646a4708ec79784 (diff)
Notes
Diffstat (limited to 'devel/erlang-folsom')
-rw-r--r--devel/erlang-folsom/Makefile3
-rw-r--r--devel/erlang-folsom/files/patch-src_folsom.app.src11
2 files changed, 1 insertions, 13 deletions
diff --git a/devel/erlang-folsom/Makefile b/devel/erlang-folsom/Makefile
index 6cdafa10dceb..5916d94b30a2 100644
--- a/devel/erlang-folsom/Makefile
+++ b/devel/erlang-folsom/Makefile
@@ -21,8 +21,7 @@ USE_GITHUB= yes
GH_ACCOUNT= boundary
post-patch:
- @${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/folsom.app.src
- @${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
+ @${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
do-build:
@cd ${WRKSRC} && ./rebar compile
diff --git a/devel/erlang-folsom/files/patch-src_folsom.app.src b/devel/erlang-folsom/files/patch-src_folsom.app.src
deleted file mode 100644
index dddcc2cd2f67..000000000000
--- a/devel/erlang-folsom/files/patch-src_folsom.app.src
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/folsom.app.src.orig 2015-05-20 12:38:29 UTC
-+++ src/folsom.app.src
-@@ -2,7 +2,7 @@
- {application, folsom,
- [
- {description, "Erlang based metrics system"},
-- {vsn, git},
-+ {vsn, "%%PORTVERSION%%"},
- {modules, []},
- {registered, [folsom_meter_timer_server,
- folsom_metrics_histogram_ets,