summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-01-19 22:41:15 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-01-20 22:19:19 +0100
commit49bb1445c24332d2ac81bdd10c67b076d6a5c490 (patch)
treee8e2f7790eb769c6a55b9b7c66834f2df6571596
parentapp-misc/mencal: install docs using einstalldocs. (diff)
downloadgentoo-49bb1445c24332d2ac81bdd10c67b076d6a5c490.tar.gz
gentoo-49bb1445c24332d2ac81bdd10c67b076d6a5c490.tar.bz2
gentoo-49bb1445c24332d2ac81bdd10c67b076d6a5c490.zip
app-misc/when: install docs using einstalldocs.
Package-Manager: portage-2.3.0
-rw-r--r--app-misc/when/when-1.1.36.ebuild10
1 files 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 1cd434587f0..1396d1a568d 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
}