From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-editors/joe/joe-4.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app-editors/joe/joe-4.2.ebuild (limited to 'app-editors/joe/joe-4.2.ebuild') diff --git a/app-editors/joe/joe-4.2.ebuild b/app-editors/joe/joe-4.2.ebuild new file mode 100644 index 000000000000..750368519c35 --- /dev/null +++ b/app-editors/joe/joe-4.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" +HOMEPAGE="https://sourceforge.net/projects/joe-editor/" +SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" + +LICENSE="GPL-1+ CC-BY-3.0" +SLOT="0" +KEYWORDS="alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" +IUSE="xterm" + +DEPEND=">=sys-libs/ncurses-5.2-r2" +RDEPEND="xterm? ( >=x11-terms/xterm-239 )" + +DOCS=( README.md NEWS.md docs/hacking.md docs/man.md ) + +src_prepare() { + default + # Enable xterm mouse support in the rc files + if use xterm; then + cd "${S}"/rc + for i in *rc*.in; do + sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die "sed failed" + done + fi +} + +pkg_postinst() { + if use xterm; then + elog "To enable full xterm clipboard you need to set the allowWindowOps" + elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm" + elog "This is false by default due to potential security problems on some" + elog "architectures (see bug #91453)." + fi +} -- cgit v1.2.3