app-misc/detachtty: use variables wherever possible.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 4 Mar 2017 23:01:34 +0000 (00:01 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 4 Mar 2017 23:01:34 +0000 (00:01 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-misc/detachtty/detachtty-9-r1.ebuild

index ecb689a20b3f9a285de843dfa131b58146d34ff7..875d2185173797e18d925dba8d983777a27723e9 100644 (file)
@@ -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
 }