Date: Tue, 7 Jul 2015 23:03:08 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391537 - head/Mk/Uses Message-ID: <201507072303.t67N38IG079562@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Tue Jul 7 23:03:07 2015 New Revision: 391537 URL: https://svnweb.freebsd.org/changeset/ports/391537 Log: In elixir.mk, replace custom targets with do-build and do-install. Modified: head/Mk/Uses/elixir.mk Modified: head/Mk/Uses/elixir.mk ============================================================================== --- head/Mk/Uses/elixir.mk Tue Jul 7 22:21:28 2015 (r391536) +++ head/Mk/Uses/elixir.mk Tue Jul 7 23:03:07 2015 (r391537) @@ -62,22 +62,17 @@ RUN_DEPENDS+= ${depend:T}>=0:${PORTSDIR} .endfor .if !target(do-build) -do-build: do-build-elixir -.endif - -.if !target(do-install) -do-install: do-install-elixir -.endif - -do-build-elixir: +do-build: @${RM} -f ${WRKSRC}/mix.lock @cd ${WRKSRC} && ${MIX_COMPILE} .for app in ${MIX_EXTRA_APPS} @${RM} -f ${WRKSRC}/${app}/mix.lock @cd ${WRKSRC}/${app} && ${MIX_COMPILE} .endfor +.endif # .if !target(do-build) -do-install-elixir: +.if !target(do-install) +do-install: @${MKDIR} ${STAGEDIR}${ELIXIR_APP_ROOT} @${MKDIR} ${STAGEDIR}${ELIXIR_APP_ROOT}/lib cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${ELIXIR_APP_ROOT}/lib @@ -108,5 +103,6 @@ do-install-elixir: ${INSTALL_DATA} ${WRKSRC}/${app}/_build/${MIX_BUILD_NAME}/lib/*/ebin/* \ ${STAGEDIR}${ELIXIR_APP_ROOT}/ebin .endfor +.endif # .if !target(do-install) .endif #!defined(_INCLUDE_USES_ELIXIR_MK)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507072303.t67N38IG079562>