aboutsummaryrefslogtreecommitdiff
path: root/textproc/erlang-edown/Makefile
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 /textproc/erlang-edown/Makefile
parentc5868756149ce9cccf97a51f4646a4708ec79784 (diff)
downloadports-c75afdbf0f410d96cfd83a367b46fa0750844887.tar.gz
ports-c75afdbf0f410d96cfd83a367b46fa0750844887.zip
Notes
Diffstat (limited to 'textproc/erlang-edown/Makefile')
-rw-r--r--textproc/erlang-edown/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/erlang-edown/Makefile b/textproc/erlang-edown/Makefile
index e1b6c03f7c30..1fa354b7d810 100644
--- a/textproc/erlang-edown/Makefile
+++ b/textproc/erlang-edown/Makefile
@@ -17,7 +17,8 @@ USE_GITHUB= yes
GH_ACCOUNT= uwiger
post-patch:
- @${REINPLACE_CMD} -e 's/{vsn, git}/{vsn,"${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
+ @${RM} ${WRKSRC}/src/*.orig
+ @${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
do-build:
@cd ${WRKSRC} && ./rebar compile