diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-vcs/tkcvs/tkcvs-9.3.2.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-vcs/tkcvs/tkcvs-9.3.2.ebuild')
-rw-r--r-- | dev-vcs/tkcvs/tkcvs-9.3.2.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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..2809f3345297 --- /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 desktop + +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 +} |