aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-06 18:55:35 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-06 18:55:35 +0800
commit09c72bb4ca122528a4a30bc94d21798839ce55c3 (patch)
treed68be733377769f48fd1cfa1b5cc5a9a355c6aaa /textproc
parentc615495be561abd8678a01ead10a13c12c317ea8 (diff)
downloadfreebsd-ports-gnome-09c72bb4ca122528a4a30bc94d21798839ce55c3.tar.gz
freebsd-ports-gnome-09c72bb4ca122528a4a30bc94d21798839ce55c3.tar.zst
freebsd-ports-gnome-09c72bb4ca122528a4a30bc94d21798839ce55c3.zip
Some patch files were meant to get rid of {vsn, git} in rebar.config;
replace them with REINPLACE_CMD.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/erlang-edown/Makefile3
-rw-r--r--textproc/erlang-edown/pkg-plist1
2 files changed, 2 insertions, 2 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
diff --git a/textproc/erlang-edown/pkg-plist b/textproc/erlang-edown/pkg-plist
index c770ca366983..f631449768d1 100644
--- a/textproc/erlang-edown/pkg-plist
+++ b/textproc/erlang-edown/pkg-plist
@@ -8,7 +8,6 @@ lib/erlang/lib/edown-%%VERSION%%/priv/scripts/check_edown.script
lib/erlang/lib/edown-%%VERSION%%/priv/scripts/rebar.config.script
lib/erlang/lib/edown-%%VERSION%%/priv/scripts/remove_deps.script
lib/erlang/lib/edown-%%VERSION%%/src/edown.app.src
-lib/erlang/lib/edown-%%VERSION%%/src/edown.app.src.bak
lib/erlang/lib/edown-%%VERSION%%/src/edown_doclet.erl
lib/erlang/lib/edown-%%VERSION%%/src/edown_layout.erl
lib/erlang/lib/edown-%%VERSION%%/src/edown_lib.erl