-# 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/"
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
}
---- bookview.in.ORIG 2004-11-03 18:39:28.000000000 +0900
-+++ bookview.in 2004-11-22 21:22:42.000000000 +0900
+--- a/bookview/bookview.in
++++ b/bookview/bookview.in
@@ -120,6 +120,11 @@
# Bitmap size.
set bitmap_size 16