commit:     87219e4eecf79208c80d41084d463b58be13a81e
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 17 13:19:22 2018 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue Jul 17 13:29:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87219e4e

mail-filter/scmail: update to EAPI 6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 mail-filter/scmail/scmail-1.3.ebuild | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/mail-filter/scmail/scmail-1.3.ebuild 
b/mail-filter/scmail/scmail-1.3.ebuild
index 2b3e44ca9c5..1b7035efd7d 100644
--- a/mail-filter/scmail/scmail-1.3.ebuild
+++ b/mail-filter/scmail/scmail-1.3.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI="6"
 
-inherit eutils fixheadtails
+inherit fixheadtails
 
 DESCRIPTION="a mail filter written in Scheme"
 HOMEPAGE="http://0xcc.net/scmail/";
-SRC_URI="http://0xcc.net/scmail/${P}.tar.gz";
+SRC_URI="http://0xcc.net/${PN}/${P}.tar.gz";
 
 LICENSE="BSD"
 SLOT="0"
@@ -17,8 +17,15 @@ IUSE=""
 RDEPEND="dev-scheme/gauche"
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-doc-encoding.diff
+       "${FILESDIR}"/${PN}-gauche-0.9.diff
+)
+HTML_DOCS=( doc/{${PN},scbayes}{,-ja}.html )
+
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-*.diff
+       default
+
        ht_fix_file tests/scmail-commands
        # replace make -> $(MAKE)
        sed -i "s/make\( \|$\)/\$(MAKE)\1/g" Makefile
@@ -30,5 +37,5 @@ src_install() {
                SITELIBDIR="${ED}$(gauche-config --sitelibdir)" \
                DATADIR="${ED}/usr/share/doc/${P}" \
                install
-       dohtml doc/*.html
+       einstalldocs
 }

Reply via email to