commit:     8bd88c401a86974072140b784328550999ad633a
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Wed Sep 13 17:12:22 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 19:24:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd88c40

app-i18n/zinnia-tomoe: Port to EAPI="6".

 .../zinnia-tomoe-0.6.0_p20080911.ebuild            | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild 
b/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild
index a0749df3625..4c7cac54699 100644
--- a/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild
+++ b/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild
@@ -1,16 +1,14 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI="6"
 
-AUTOTOOLS_AUTORECONF=1
+inherit autotools
 
-inherit autotools-utils multilib
-
-MY_P=${P/_p/-}
+MY_P="${P/_p/-}"
 
 DESCRIPTION="Handwriting model files trained with Tomoe data"
-HOMEPAGE="http://zinnia.sourceforge.net/index.html";
+HOMEPAGE="https://taku910.github.io/zinnia/ https://github.com/taku910/zinnia 
https://sourceforge.net/projects/zinnia/";
 SRC_URI="mirror://sourceforge/zinnia/${MY_P}.tar.bz2"
 
 LICENSE="LGPL-2.1"
@@ -21,11 +19,13 @@ IUSE=""
 DEPEND="app-i18n/zinnia"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}"/${MY_P}
+S="${WORKDIR}/${MY_P}"
 
-AUTOTOOLS_IN_SOURCE_BUILD=1
+DOCS=(AUTHORS)
 
 src_prepare() {
-       sed -i -e "/^modeldir/s/lib/$(get_libdir)/" Makefile.am || die
-       autotools-utils_src_prepare
+       default
+       mv configure.in configure.ac || die
+       sed -e "/^modeldir[[:space:]]*=/s/lib/$(get_libdir)/" -i Makefile.am || 
die
+       eautoreconf
 }

Reply via email to