Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
+
inherit toolchain-funcs
DESCRIPTION="Xtoolwait notably decreases the startup time of an X session"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE=""
-RDEPEND="x11-libs/libX11
+RDEPEND="
+ x11-libs/libX11
x11-libs/libXext"
DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+BDEPEND="
app-text/rman
- x11-base/xorg-proto
x11-misc/imake"
-src_prepare() {
+src_configure() {
xmkmf || die
sed -i \
-e '/CC = /d' -e '/EXTRA_LDOPTIONS = /d' \
src_install() {
emake \
- BINDIR=/usr/bin \
- MANPATH=/usr/share/man \
- DOCDIR=/usr/share/doc/${PF} \
+ BINDIR="${EPREFIX}"/usr/bin \
+ MANPATH="${EPREFIX}"/usr/share/man \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
DESTDIR="${D}" \
install{,.man}
- dodoc CHANGES README
+ einstalldocs
}