commit: ae92adab7392e3bbd8fb712766b466514efb28cd Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Sat Mar 4 23:01:34 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Sat Mar 4 23:01:34 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae92adab
app-misc/detachtty: use variables wherever possible. Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-misc/detachtty/detachtty-9-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app-misc/detachtty/detachtty-9-r1.ebuild b/app-misc/detachtty/detachtty-9-r1.ebuild index ecb689a20b3..875d2185173 100644 --- a/app-misc/detachtty/detachtty-9-r1.ebuild +++ b/app-misc/detachtty/detachtty-9-r1.ebuild @@ -15,13 +15,15 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" +DOCS=( INSTALL README ) + src_compile() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" } src_install() { - dobin detachtty attachtty - doman detachtty.1 + dobin "${PN}" attachtty + doman "${PN}.1" dosym /usr/share/man/man1/detachtty.1 /usr/share/man/man1/attachtty.1 - dodoc INSTALL README + einstalldocs }