commit:     5757f98d00cb5c484bd3b7d386f15d28d16ef774
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Sep 11 17:58:59 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Sep 26 23:01:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5757f98d

www-client/dillo: EAPI7 and improve ebuild.

Closes: https://bugs.gentoo.org/665720
Closes: https://github.com/gentoo/gentoo/pull/9830

 www-client/dillo/dillo-9999.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/www-client/dillo/dillo-9999.ebuild 
b/www-client/dillo/dillo-9999.ebuild
index 0d478f4ab15..b0388a0b17e 100644
--- a/www-client/dillo/dillo-9999.ebuild
+++ b/www-client/dillo/dillo-9999.ebuild
@@ -1,8 +1,9 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit autotools eutils mercurial multilib toolchain-funcs
+EAPI=7
+
+inherit autotools desktop mercurial toolchain-funcs
 
 DESCRIPTION="Lean FLTK based web browser"
 HOMEPAGE="https://www.dillo.org/";
@@ -29,6 +30,8 @@ PATCHES=(
        "${FILESDIR}"/${PN}2-inbuf.patch
 )
 
+DOCS="AUTHORS ChangeLog README NEWS doc/*.txt doc/README"
+
 src_prepare() {
        default
        eautoreconf
@@ -52,12 +55,12 @@ src_compile() {
 }
 
 src_install() {
-       dodir /etc
        default
 
-       use doc && dohtml html/*
-       dodoc AUTHORS ChangeLog README NEWS
-       dodoc doc/*.txt doc/README
+       if use doc; then
+               docinto html
+               dodoc -r html/
+       fi
 
        doicon "${DISTDIR}"/${PN}.png
        make_desktop_entry ${PN} Dillo

Reply via email to