summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-17 22:19:22 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-17 22:29:39 +0900
commit87219e4eecf79208c80d41084d463b58be13a81e (patch)
tree1c9ff99e838eb10c08d54147bf7977dac654cbfe /mail-filter/scmail
parentnet-p2p/xmr-stak: 2.4.6 version bump (diff)
downloadgentoo-87219e4eecf79208c80d41084d463b58be13a81e.tar.gz
gentoo-87219e4eecf79208c80d41084d463b58be13a81e.tar.bz2
gentoo-87219e4eecf79208c80d41084d463b58be13a81e.zip
mail-filter/scmail: update to EAPI 6
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'mail-filter/scmail')
-rw-r--r--mail-filter/scmail/scmail-1.3.ebuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/mail-filter/scmail/scmail-1.3.ebuild b/mail-filter/scmail/scmail-1.3.ebuild
index 2b3e44ca9c5b..1b7035efd7d4 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
}