commit:     a00d6eae0d7cce010cd969c6dfc54462b4364bb2
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  5 11:30:59 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Sep  5 11:31:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00d6eae

app-editors/joe: Bump to version 4.3

with kind permission from Amynka.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-editors/joe/Manifest       |  1 +
 app-editors/joe/joe-4.3.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/app-editors/joe/Manifest b/app-editors/joe/Manifest
index 394e3d9..a1c9c24 100644
--- a/app-editors/joe/Manifest
+++ b/app-editors/joe/Manifest
@@ -1 +1,2 @@
 DIST joe-4.2.tar.gz 1341048 SHA256 
bc5da64bc5683ab7b2962a33214b3537ea17ff6528a3c60ba170359e31e86974 SHA512 
7c34f4467d89330ac195cfa76481d9ede4ee3764d0b1b24d091d1e6325bff451d2a9bc9f86a73404c9909587bcbe3e0c14511b739ec121edb7595ea1fcba028f
 WHIRLPOOL 
9dd996e266d96894d8e8b17ab9cadd5eef02568b4778245c9af82f745b288fc1dbb7ee401da2a148a6f5afaf627b91638fad25adafb8c5671576fa38ff31aedc
+DIST joe-4.3.tar.gz 1270523 SHA256 
985d6a8f943a06e64165996c24d7fecaeae8c59efb52998a49b3fb4b8a3e26e1 SHA512 
a711ce129518863856b8f581ac7acdd7661f5e571cb77c5411317e0db0344c9ba44e73ec2ca9a307e639170a7914d53352eebcd00a33c9270809551f12376e69
 WHIRLPOOL 
a09bb8170942c470b7e9d1d43fbba003d7fa3c25f47ee8a6902a249b7cc253d1b7d7a1431b447b0729c51102cb49e241625c7d30bb7b11fc1d30a5e6c9c11cd1

diff --git a/app-editors/joe/joe-4.3.ebuild b/app-editors/joe/joe-4.3.ebuild
new file mode 100644
index 00000000..7025172
--- /dev/null
+++ b/app-editors/joe/joe-4.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 
~x86-interix ~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
+}

Reply via email to