1 |
commit: 659ea81e0629ca349776770b0d4f8d51996b08dc |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 30 14:20:07 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 30 14:20:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659ea81e |
7 |
|
8 |
sys-apps/less: Bump to version 540 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
sys-apps/less/Manifest | 1 + |
14 |
sys-apps/less/less-540.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest |
18 |
index 9a5258b1398..23b276f0001 100644 |
19 |
--- a/sys-apps/less/Manifest |
20 |
+++ b/sys-apps/less/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST less-530.tar.gz 339723 BLAKE2B 9321548b06330c0b1b5b5a36147f5b9348619ff15d90 |
22 |
DIST less-531.tar.gz 340466 BLAKE2B 6ac75b623fce478114d18cff429659499fedf4ef1a7bb067465ace91c28a7968efb224a4994a1e376a8cf40b110492f10ecda634628029107b38187044a0cd1e SHA512 180b665f194d7cc40d4bbb37bd64b10be463c0705e81795bef84b20dbba1c61825bb3e3da8bcd79f9176bb3af7b1f4e4c3dfe0829a5a2195a11f5b42294daca1 |
23 |
DIST less-537.tar.gz 341608 BLAKE2B 87425a8c0779f88d6f9029ae7ffde944d68f095dc4113a07839a523f76c96cb29bc1c076b6a0a64685ed75f86b37b47e75102663fef014027dcf1e8459c97b18 SHA512 2c4b8d2fb76843c68ee4401c373d3c01cce591a425d002d885f208b8dd4c822c5f2ee52b2fde29a5c366ed1f48cd73679c70a8329acd1cb2866a76a58b4e2063 |
24 |
DIST less-538.tar.gz 341589 BLAKE2B ce2c451da4f25e1fd93c738817f92fb12453b3091b34f8162ff11645a0bc223ca158ed3facb5eac611799117c8d20c14597abd5a0924a4f39d1ac18cd4afb638 SHA512 55012727f855de1c5e451dead0533e0d8505c0c829ff4f624bfadee998278ca372f201e1f58c23f09e0c4a2d424a17fcce6d3ebb18dd1c3bb757f5ccd8aaa330 |
25 |
+DIST less-540.tar.gz 342724 BLAKE2B d5184ae3e44ea111d9a3fc87166779cf19ac63b26b25ff149610fd5728e20457c9469fff885759a1230b831b0c306569179c2a1e25c6c15c85604855726e3153 SHA512 1cee065b9a16db74ef0ccdffa149071bf66dd40d82c3d5581b0a7706f75ed4afaf4beca9e5d928d20605e390d5b0a6c1b346a67d8abb90d93bf140cbe03d435d |
26 |
|
27 |
diff --git a/sys-apps/less/less-540.ebuild b/sys-apps/less/less-540.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..3d7a9f40c80 |
30 |
--- /dev/null |
31 |
+++ b/sys-apps/less/less-540.ebuild |
32 |
@@ -0,0 +1,44 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+DESCRIPTION="Excellent text file viewer" |
39 |
+HOMEPAGE="http://www.greenwoodsoftware.com/less/" |
40 |
+SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="|| ( GPL-3 BSD-2 )" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
+IUSE="pcre unicode" |
46 |
+ |
47 |
+DEPEND=">=app-misc/editor-wrapper-3 |
48 |
+ >=sys-libs/ncurses-5.2:0= |
49 |
+ pcre? ( dev-libs/libpcre )" |
50 |
+RDEPEND="${DEPEND}" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ export ac_cv_lib_ncursesw_initscr=$(usex unicode) |
54 |
+ export ac_cv_lib_ncurses_initscr=$(usex !unicode) |
55 |
+ local myeconfargs=( |
56 |
+ --with-regex=$(usex pcre pcre posix) |
57 |
+ --with-editor="${EPREFIX}"/usr/libexec/editor |
58 |
+ ) |
59 |
+ econf "${myeconfargs[@]}" |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ default |
64 |
+ |
65 |
+ newbin "${FILESDIR}"/lesspipe.sh lesspipe |
66 |
+ newenvd "${FILESDIR}"/less.envd 70less |
67 |
+} |
68 |
+ |
69 |
+pkg_preinst() { |
70 |
+ if has_version "<${CATEGORY}/${PN}-483-r1" ; then |
71 |
+ elog "The lesspipe.sh symlink has been dropped. If you are still setting" |
72 |
+ elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'." |
73 |
+ elog "Colorization support has been dropped. If you want that, check out" |
74 |
+ elog "the new app-text/lesspipe package." |
75 |
+ fi |
76 |
+} |