aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang-runtime18
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-04-19 05:35:01 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-04-19 05:35:01 +0000
commit6d76b512f44422a84aed2d0f152c6e90e6abc8cf (patch)
treef3ca774222600304456a80ba16ea292f29060e5d /lang/erlang-runtime18
parent90f75ba6642a5e7e17abcc73056c8ebda274ea4c (diff)
downloadports-6d76b512f44422a84aed2d0f152c6e90e6abc8cf.tar.gz
ports-6d76b512f44422a84aed2d0f152c6e90e6abc8cf.zip
Notes
Diffstat (limited to 'lang/erlang-runtime18')
-rw-r--r--lang/erlang-runtime18/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/lang/erlang-runtime18/Makefile b/lang/erlang-runtime18/Makefile
index 49401956b08e..915ed4b67b00 100644
--- a/lang/erlang-runtime18/Makefile
+++ b/lang/erlang-runtime18/Makefile
@@ -53,10 +53,6 @@ USE_PERL5= build
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
-APP_UPGRADE= erts 7.3 7.3.1 \
- lib/inets 6.2 6.2.1 \
- lib/mnesia 4.13.3 4.13.4
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -205,11 +201,17 @@ post-install:
${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
-C ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}
-.for app v1 v2 in ${APP_UPGRADE}
- ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/${app}-${v1}/* \
- ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/${app}-${v2}
- ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/${app}-${v1}
-.endfor
+ ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-7.3/* \
+ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-7.3.1
+ ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/erts-7.3
+
+ ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-6.2/* \
+ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-6.2.1
+ ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/inets-6.2
+
+ ${MV} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/mnesia-4.13.3/* \
+ ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/mnesia-4.13.4
+ ${RMDIR} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/mnesia-4.13.3
${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \
${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/lib/dialyzer-*/doc/