commit:     49bb1445c24332d2ac81bdd10c67b076d6a5c490
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 19 21:41:15 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 21:19:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49bb1445

app-misc/when: install docs using einstalldocs.

Package-Manager: portage-2.3.0

 app-misc/when/when-1.1.36.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-misc/when/when-1.1.36.ebuild b/app-misc/when/when-1.1.36.ebuild
index 1cd4345..1396d1a 100644
--- a/app-misc/when/when-1.1.36.ebuild
+++ b/app-misc/when/when-1.1.36.ebuild
@@ -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
 }

Reply via email to