From 71c5a8300d404576679af5ed37aaf3c59ce17db8 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 18 Oct 2019 14:18:44 +0200 Subject: app-dicts/bookview: Port to EAPI 7 Closes: https://bugs.gentoo.org/697422 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert --- app-dicts/bookview/bookview-3.2.1.ebuild | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'app-dicts/bookview/bookview-3.2.1.ebuild') diff --git a/app-dicts/bookview/bookview-3.2.1.ebuild b/app-dicts/bookview/bookview-3.2.1.ebuild index 5093c1a5b930..9fdf455264a7 100644 --- a/app-dicts/bookview/bookview-3.2.1.ebuild +++ b/app-dicts/bookview/bookview-3.2.1.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 - -inherit eutils +EAPI=7 DESCRIPTION="NDTP client written in Tcl/Tk" HOMEPAGE="http://www.sra.co.jp/people/m-kasahr/bookview/" @@ -12,23 +10,16 @@ SRC_URI="ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc x86" -IUSE="" -RDEPEND=">=dev-lang/tk-8.3" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" +RDEPEND="dev-lang/tk:0" +DEPEND="${RDEPEND}" -src_unpack() { - unpack ${A} - cd "${S}/bookview" - epatch "${FILESDIR}/${P}-gentoo.diff" -} +PATCHES=( "${FILESDIR}"/${P}-gentoo.diff ) src_install() { - make DESTDIR="${D}" install || die + default + dodoc ChangeLog.0 insinto /etc/X11/app-defaults newins "${FILESDIR}/Bookview.ad" Bookview - - dodoc AUTHORS ChangeLog* INSTALL NEWS README } -- cgit v1.2.3-65-gdbad