summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2006-02-24 16:57:21 +0000
committerAron Griffis <agriffis@gentoo.org>2006-02-24 16:57:21 +0000
commitd9aeb25cf4e4855f5f815dcb20f3065fb46520d5 (patch)
tree1cbb2d4ff7feeabe29bc520dce26f15fcf72dcb0 /dev-util/mercurial/mercurial-0.8.ebuild
parentBump to 0.8 (from 0.7). #121908 (diff)
downloadgentoo-2-d9aeb25cf4e4855f5f815dcb20f3065fb46520d5.tar.gz
gentoo-2-d9aeb25cf4e4855f5f815dcb20f3065fb46520d5.tar.bz2
gentoo-2-d9aeb25cf4e4855f5f815dcb20f3065fb46520d5.zip
Add bash-completion support #106266
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-util/mercurial/mercurial-0.8.ebuild')
-rw-r--r--dev-util/mercurial/mercurial-0.8.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-util/mercurial/mercurial-0.8.ebuild b/dev-util/mercurial/mercurial-0.8.ebuild
index 9dba3f7fc69b..1103b9c72bd0 100644
--- a/dev-util/mercurial/mercurial-0.8.ebuild
+++ b/dev-util/mercurial/mercurial-0.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-0.8.ebuild,v 1.1 2006/02/24 16:40:44 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-0.8.ebuild,v 1.2 2006/02/24 16:57:21 agriffis Exp $
-inherit distutils
+inherit bash-completion distutils
MY_PV=${PV//_p/.}
@@ -40,8 +40,15 @@ src_compile() {
src_install() {
distutils_src_install
+ dobashcompletion contrib/bash_completion ${PN}
+
dodoc CONTRIBUTORS PKG-INFO README *.txt
cp hgweb*.cgi ${D}/usr/share/doc/${PF}/
cp -r contrib ${D}/usr/share/doc/${PF}/
doman doc/*.?
}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ bash-completion_pkg_postinst
+}