app-misc/when: install docs using einstalldocs.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 19 Jan 2017 21:41:15 +0000 (22:41 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 20 Jan 2017 21:19:19 +0000 (22:19 +0100)
Package-Manager: portage-2.3.0

app-misc/when/when-1.1.36.ebuild

index 1cd434587f0af5a501fb4ac6259208bb02d594dd..1396d1a568d740396e0c0ffd1e65170aaab3f737 100644 (file)
@@ -15,7 +15,9 @@ KEYWORDS="amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-mac
 DEPEND="dev-lang/perl"
 RDEPEND="${DEPEND}"
 
-S=${WORKDIR}/when_dist
+S="${WORKDIR}/when_dist"
+
+DOCS=( README )
 
 src_prepare() {
        default
@@ -34,7 +36,7 @@ src_test() {
 }
 
 src_install() {
-       dobin ${PN}
-       doman ${PN}.1
-       dodoc README
+       dobin "${PN}"
+       doman "${PN}.1"
+       einstalldocs
 }