summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-vcs/tkcvs/Manifest1
-rw-r--r--dev-vcs/tkcvs/tkcvs-9.3.2.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-vcs/tkcvs/Manifest b/dev-vcs/tkcvs/Manifest
index 0789e503e18f..95fb23cad139 100644
--- a/dev-vcs/tkcvs/Manifest
+++ b/dev-vcs/tkcvs/Manifest
@@ -1 +1,2 @@
DIST tkcvs-8.2.3.tar.gz 570910 BLAKE2B e612fb2fa01ad0205973eef48eaa6c11677d3aec8f1a5344b1d1719aafde79e830f550f990a7bceb8063edb530de807b7878937015bcd0175aef038031663bb0 SHA512 42fb03acf6367e02f6f7b3e1ad66232be4825f152b3e4d123080e0ce7d2f53b5eacb71ac95fbc15224fb4c4c2cae979b612dbb11d0cd0b8fc4a0222a8cd40c8a
+DIST tkcvs_9.3.2.tar.gz 614022 BLAKE2B dfea4c4f9cca6929b1298c73f2e446f6421a9c07a6878fd5990b55f5ee7936d5bb73fdcc3668a60bfb06c3f20353a93e4cdce96b5c4e12d382f6b5c610bf8476 SHA512 3ee52135ca49a156abf3f7abbbf123be6d95053c249168b1f9bde65b969f5c50157d6cb41fb1920d794926bce7e23bd014ef30f4a786ebb8d4a72ff67f3c21c3
diff --git a/dev-vcs/tkcvs/tkcvs-9.3.2.ebuild b/dev-vcs/tkcvs/tkcvs-9.3.2.ebuild
new file mode 100644
index 000000000000..1ad6768bfff6
--- /dev/null
+++ b/dev-vcs/tkcvs/tkcvs-9.3.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+MYP=${PN}_${PV}
+DESCRIPTION="Tcl/Tk-based graphical interface to CVS with Subversion support"
+HOMEPAGE="https://tkcvs.sourceforge.io/"
+SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/tk"
+RDEPEND="${DEPEND}
+ dev-vcs/cvs
+ dev-vcs/subversion
+ sys-apps/diffutils
+ dev-util/tkdiff"
+
+S="${WORKDIR}"/${MYP}
+
+src_prepare() {
+ sed \
+ -e "/set MANDIR/s/man man1/share man man1/" \
+ -e "/set LIBDIR/s/lib/$(get_libdir)/" \
+ -i doinstall.tcl || die
+ sed \
+ -e "/set TclRoot/s/lib/$(get_libdir)/" \
+ -i tkcvs/tkcvs.tcl || die
+ default
+}
+
+src_install() {
+ # bug 66030
+ unset DISPLAY
+ ./doinstall.tcl -nox "${D}"/usr || die
+
+ # dev-tcktk/tkdiff
+ rm "${D}"/usr/bin/tkdiff
+
+ # Add docs...this is important
+ dodoc {CHANGELOG,FAQ}.txt
+
+ make_desktop_entry ${PN} TkCVS "${EPREFIX}"/usr/$(get_libdir)/tkcvs/bitmaps/ticklefish_med.gif
+}