forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-editors/joe: Bump to version 4.1
Package-Manager: portage-2.2.20.1 Signed-off-by: Lars Wendler <[email protected]>
- Loading branch information
Lars Wendler
committed
Sep 8, 2015
1 parent
60098d5
commit 2c05eb1
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST joe-3.7.tar.gz 696036 SHA256 cae456e1ad5a8c1d3c94920a3416c2347277739b260e3494d3bc0f2b9b73106f SHA512 1b6ac65309156c422c73194b82c1f855006bb7a73dec957c3a25f68a51e91e6a2a84df9d5d538f08c8900fe0eb0e2b41ef0936437859d5dae5ffc45005e8a90f WHIRLPOOL 4ee918936eb1a902fd4c6e60061180dfef215a57fb0700a5e078cb9db9717eea30094388a472a14f031d80267a5e0ba290360ed89fe44d89269dfddb4e9a31d1 | ||
DIST joe-4.0.tar.gz 838783 SHA256 c556adff77fd97bf1b86198de6cb82e0b92cda18579c4fef6c83b608d2ed2915 SHA512 6d88ec9d4fd51f768dd35f74cc296f6e6469a3b36ff7aa0306796577d3a27c2719e8580483ab6184ffa3d00c6ec81d53548b501ae231845e4c0640988b0e7a31 WHIRLPOOL 029af0a45bb66008b2a40bd8bd8220741839c31e8d7d51bf428f244e55e6c8ee50138c06b8ebad181c36289c6d7c0c897580e7f192492a3376b3c68efbc6c214 | ||
DIST joe-4.1.tar.gz 1292957 SHA256 816211b2bd951f792de3602afd74ea4b51612fffdd9bc24a7808660053fef6db SHA512 f6fd9d87c94a4f47586d7a81cccbfd6bfdace2357e3c579f5abfb54117dd95cadcd1783e281874868da6f0a8853327fff5bb3876f86a031f45afb13db45f7377 WHIRLPOOL e5d536fbed434800a22fd38034d86928a08e4efacc0fa708bad7631a84d18d005c58a7de4347aa7ec21e5f2736a13e63399c3ef5c7949ab9602dd144718e5fcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit eutils | ||
|
||
DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" | ||
HOMEPAGE="http://sourceforge.net/projects/joe-editor/" | ||
SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" | ||
|
||
LICENSE="GPL-1" | ||
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() { | ||
# 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 | ||
} | ||
|
||
src_configure() { | ||
econf \ | ||
--docdir="/usr/share/doc/${PF}" | ||
} | ||
|
||
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 | ||
} |