From: Thomas Schneider Date: Thu, 28 Mar 2019 17:23:13 +0000 (+0100) Subject: dev-vcs/mercurial: Install contrib/chg X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fa555fd699a20d1c3cf379baa3f2666196fb9b29;p=gentoo.git dev-vcs/mercurial: Install contrib/chg Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Schneider Closes: https://github.com/gentoo/gentoo/pull/11525 Signed-off-by: Lars Wendler --- diff --git a/dev-vcs/mercurial/mercurial-4.9.ebuild b/dev-vcs/mercurial/mercurial-4.9-r1.ebuild similarity index 96% rename from dev-vcs/mercurial/mercurial-4.9.ebuild rename to dev-vcs/mercurial/mercurial-4.9-r1.ebuild index e0bacc4958f8..2c1934673ed4 100644 --- a/dev-vcs/mercurial/mercurial-4.9.ebuild +++ b/dev-vcs/mercurial/mercurial-4.9-r1.ebuild @@ -58,6 +58,7 @@ python_configure_all() { python_compile_all() { rm -r contrib/win32 || die + emake -C contrib/chg if use emacs; then cd contrib || die elisp-compile mercurial.el || die "elisp-compile failed!" @@ -85,7 +86,10 @@ python_install_all() { elisp-site-file-install "${FILESDIR}"/${SITEFILE} fi - local RM_CONTRIB=( hgk hg-ssh bash_completion zsh_completion wix plan9 *.el ) + dobin contrib/chg/chg + doman contrib/chg/chg.1 + + local RM_CONTRIB=( chg hgk hg-ssh bash_completion zsh_completion wix plan9 *.el ) for f in ${RM_CONTRIB[@]}; do rm -r contrib/${f} || die done