summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-10-18 14:18:44 +0200
committerDavid Seifert <soap@gentoo.org>2019-10-18 14:18:44 +0200
commit71c5a8300d404576679af5ed37aaf3c59ce17db8 (patch)
tree1f5aefe5d2c157bd0c72b5dda083c99ece7d77e1 /app-dicts/bookview/bookview-3.2.1.ebuild
parentmedia-sound/mpck: Port to EAPI 7 (diff)
downloadgentoo-71c5a8300d404576679af5ed37aaf3c59ce17db8.tar.gz
gentoo-71c5a8300d404576679af5ed37aaf3c59ce17db8.tar.bz2
gentoo-71c5a8300d404576679af5ed37aaf3c59ce17db8.zip
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 <soap@gentoo.org>
Diffstat (limited to 'app-dicts/bookview/bookview-3.2.1.ebuild')
-rw-r--r--app-dicts/bookview/bookview-3.2.1.ebuild23
1 files changed, 7 insertions, 16 deletions
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
}