aboutsummaryrefslogtreecommitdiffstats
path: root/devel/erlang-neotoma
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 /devel/erlang-neotoma
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 'devel/erlang-neotoma')
-rw-r--r--devel/erlang-neotoma/Makefile3
-rw-r--r--devel/erlang-neotoma/files/patch-src_neotoma.app.src11
2 files changed, 1 insertions, 13 deletions
diff --git a/devel/erlang-neotoma/Makefile b/devel/erlang-neotoma/Makefile
index c318486211e6..44fd9dab211d 100644
--- a/devel/erlang-neotoma/Makefile
+++ b/devel/erlang-neotoma/Makefile
@@ -24,8 +24,7 @@ USE_GITHUB= yes
GH_ACCOUNT= seancribbs
post-patch:
- @${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/neotoma.app.src
- @${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
+ @${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/devel/erlang-neotoma/files/patch-src_neotoma.app.src b/devel/erlang-neotoma/files/patch-src_neotoma.app.src
deleted file mode 100644
index ea30402da887..000000000000
--- a/devel/erlang-neotoma/files/patch-src_neotoma.app.src
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/neotoma.app.src.orig 2015-05-14 15:21:25 UTC
-+++ src/neotoma.app.src
-@@ -1,7 +1,7 @@
- {application, neotoma,
- [
- {description, "PEG/Packrat toolkit and parser-generator."},
-- {vsn, git},
-+ {vsn, "%%PORTVERSION%%"},
- {applications, [kernel, stdlib]}
- ]
- }.