commit: f76b4784da63d97557f89ff62937833584c7996e Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Thu Jun 2 12:36:56 2016 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Thu Jun 2 12:37:20 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76b4784
app-misc/tmux: Bumped live ebuild to EAPI-6. Cleanup. Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> app-misc/tmux/tmux-9999.ebuild | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild index 577675c..223d23a 100644 --- a/app-misc/tmux/tmux-9999.ebuild +++ b/app-misc/tmux/tmux-9999.ebuild @@ -2,11 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils git-r3 bash-completion-r1 flag-o-matic versionator +inherit autotools git-r3 flag-o-matic versionator DESCRIPTION="Terminal multiplexer" HOMEPAGE="http://tmux.github.io/" @@ -17,12 +15,14 @@ EGIT_REPO_URI="https://github.com/tmux/tmux.git" LICENSE="ISC" SLOT="0" KEYWORDS="" -IUSE="debug selinux vim-syntax kernel_FreeBSD kernel_linux" +IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" CDEPEND=" >=dev-libs/libevent-2.0.10 - kernel_linux? ( sys-libs/libutempter ) - kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) + utempter? ( + kernel_linux? ( sys-libs/libutempter ) + kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) + ) sys-libs/ncurses:0=" DEPEND="${CDEPEND} virtual/pkgconfig" @@ -48,29 +48,24 @@ src_prepare() { # 1.7 segfaults when entering copy mode if compiled with -Os replace-flags -Os -O2 - autotools-utils_src_prepare + default + + eautoreconf } src_configure() { - local myeconfargs=( - --sysconfdir="${EPREFIX}"/etc - $(use_enable debug) - ) - autotools-utils_src_configure + econf \ + --sysconfdir="${EPREFIX}"/etc \ + $(use_enable debug) \ + $(use_enable utempter) } src_install() { - autotools-utils_src_install - - newbashcomp "${DISTDIR}/tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b" ${PN} + default - docinto examples - dodoc example_tmux.conf + einstalldocs if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - newins "${DISTDIR}/tmux.vim-95f6126c187667cc7f9c573c45c3b356cf69f4ca" tmux.vim - insinto /usr/share/vim/vimfiles/ftdetect doins "${FILESDIR}"/tmux.vim fi
