From owner-svn-ports-head@freebsd.org Tue Jul 7 23:03:08 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 750C6996C39; Tue, 7 Jul 2015 23:03:08 +0000 (UTC) (envelope-from olgeni@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 655141C19; Tue, 7 Jul 2015 23:03:08 +0000 (UTC) (envelope-from olgeni@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t67N38fV079563; Tue, 7 Jul 2015 23:03:08 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t67N38IG079562; Tue, 7 Jul 2015 23:03:08 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201507072303.t67N38IG079562@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Tue, 7 Jul 2015 23:03:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391537 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2015 23:03:08 -0000 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)