commit:     c47fdcc36ce2a93af8ad40b208123ba541a59f8d
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 23:16:17 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 23:18:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c47fdcc3

app-text/tkman: update EAPI 5 -> 8

Now with actually working installation of the HTML manual!

Bug: https://bugs.gentoo.org/826394
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-text/tkman/tkman-2.2-r2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/app-text/tkman/tkman-2.2-r2.ebuild 
b/app-text/tkman/tkman-2.2-r2.ebuild
new file mode 100644
index 000000000000..6db7c4e92700
--- /dev/null
+++ b/app-text/tkman/tkman-2.2-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+
+DESCRIPTION="Graphical, hypertex man and info page browser"
+HOMEPAGE="https://sourceforge.net/projects/tkman/";
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="
+       >=app-text/rman-3.1
+       >=dev-lang/tcl-8.4:0
+       >=dev-lang/tk-8.4:0
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.2-gentoo.diff \
+       "${FILESDIR}"/${PN}-CVE-2008-5137.diff
+)
+
+src_install() {
+       local DOCS=( ANNOUNCE-tkman.txt CHANGES README-tkman )
+       local HTML_DOCS=( manual.html )
+
+       dodir /usr/bin
+       default
+
+       doicon contrib/TkMan.gif
+
+       domenu "${FILESDIR}"/tkman.desktop
+}

Reply via email to