Replace PORTNAME with the correct ELIXIR_APP_NAME in ebin/ installation.

This commit is contained in:
Jimmy Olgeni 2015-07-02 23:09:03 +00:00
parent b8c6f2407d
commit 9ef5f8edfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391204

View file

@ -67,7 +67,7 @@ do-install-elixir:
@${MKDIR} ${STAGEDIR}${ELIXIR_APP_ROOT}/lib
cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${ELIXIR_APP_ROOT}/lib
@${MKDIR} ${STAGEDIR}${ELIXIR_APP_ROOT}/ebin
${INSTALL_DATA} ${WRKSRC}/_build/${MIX_BUILD_NAME}/lib/${PORTNAME}/ebin/* \
${INSTALL_DATA} ${WRKSRC}/_build/${MIX_BUILD_NAME}/lib/${ELIXIR_APP_NAME}/ebin/* \
${STAGEDIR}${ELIXIR_APP_ROOT}/ebin
if [ -d ${WRKSRC}/priv ]; then \
${MKDIR} ${STAGEDIR}${ELIXIR_APP_ROOT}/priv; \