diff options
author | Ulrich Müller <ulm@gentoo.org> | 2011-09-09 10:43:05 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2011-09-09 10:43:05 +0000 |
commit | 0ab35c72331770ffc0c089e5bd463b7036071282 (patch) | |
tree | f885e07f29ddcec515bb6671ddccfd89fd22b282 /app-admin/eselect/eselect-9999.ebuild | |
parent | Fixed installation with USE=fontforge, bug #379505 thank Nikolay S. Rybaloff ... (diff) | |
download | gentoo-2-0ab35c72331770ffc0c089e5bd463b7036071282.tar.gz gentoo-2-0ab35c72331770ffc0c089e5bd463b7036071282.tar.bz2 gentoo-2-0ab35c72331770ffc0c089e5bd463b7036071282.zip |
Migrate to bash-completion-r1.eclass. Remove old.
(Portage version: 2.1.10.14/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/eselect/eselect-9999.ebuild')
-rw-r--r-- | app-admin/eselect/eselect-9999.ebuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/app-admin/eselect/eselect-9999.ebuild b/app-admin/eselect/eselect-9999.ebuild index cadb8e22feab..920017fa452e 100644 --- a/app-admin/eselect/eselect-9999.ebuild +++ b/app-admin/eselect/eselect-9999.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.8 2011/09/03 12:56:24 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.9 2011/09/09 10:43:05 ulm Exp $ -EAPI=2 +EAPI=4 ESVN_REPO_URI="svn://anonsvn.gentoo.org/eselect/trunk" ESVN_BOOTSTRAP="autogen.bash" -inherit subversion bash-completion +inherit subversion bash-completion-r1 DESCRIPTION="Gentoo's multi-purpose configuration and management tool" HOMEPAGE="http://www.gentoo.org/proj/en/eselect/" @@ -35,18 +35,15 @@ RDEPEND="!app-admin/eselect-news # vim-syntax? ( app-vim/eselect-syntax )" src_compile() { - emake || die "emake failed" - - if use doc; then - make html || die "failed to build html" - fi + emake + use doc && emake html } src_install() { - emake DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install + newbashcomp misc/${PN}.bashcomp ${PN} dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt use doc && dohtml *.html doc/* - dobashcompletion misc/${PN}.bashcomp # needed by news module keepdir /var/lib/gentoo/news @@ -55,9 +52,6 @@ src_install() { pkg_postinst() { # fowners in src_install doesn't work for the portage group: # merging changes the group back to root - [[ -z ${EROOT} ]] && local EROOT=${ROOT} chgrp portage "${EROOT}/var/lib/gentoo/news" \ && chmod g+w "${EROOT}/var/lib/gentoo/news" - - bash-completion_pkg_postinst } |