1 |
commit: 64fe223d822e8271eff9657ba0fbbd74e141b0a9 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 3 12:21:54 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 3 12:21:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64fe223d |
7 |
|
8 |
sys-apps/less: Version bump (v534) |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
sys-apps/less/Manifest | 1 + |
13 |
sys-apps/less/less-534.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest |
17 |
index 7f106765c11..d01b9816843 100644 |
18 |
--- a/sys-apps/less/Manifest |
19 |
+++ b/sys-apps/less/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST less-529.tar.gz 339651 BLAKE2B 745146fd584c6144b4052d18bae07a2b4c7a719d36c5 |
21 |
DIST less-530.tar.gz 339723 BLAKE2B 9321548b06330c0b1b5b5a36147f5b9348619ff15d907808744b89581edeb4d8c2118ba455d024a23850902cac4d2c34d1e7b9897e02769584315c0e67ef667e SHA512 8d83a18b5648c4fe85921a563aa2c40bcf495aeb611098c83cd167b1e2f706649846cdf457c8506ae2683ab362ad970a0b261747349673020894bccdb9acbc10 |
22 |
DIST less-531.tar.gz 340466 BLAKE2B 6ac75b623fce478114d18cff429659499fedf4ef1a7bb067465ace91c28a7968efb224a4994a1e376a8cf40b110492f10ecda634628029107b38187044a0cd1e SHA512 180b665f194d7cc40d4bbb37bd64b10be463c0705e81795bef84b20dbba1c61825bb3e3da8bcd79f9176bb3af7b1f4e4c3dfe0829a5a2195a11f5b42294daca1 |
23 |
DIST less-533.tar.gz 341035 BLAKE2B 19e6250ef79d1356b296dd23f2aba45ddddedc1a4c365154d18cd7fa7b79d7ed8c60d8a56646523b8e713d6eede065f3e5fb33527d97053adb2b38fe1f93325c SHA512 a2fa8286f185de866d7c74d9468d201905dcd1b95dfc37013bff3a98a7c8229d76f31584c2db5fe980999cef3445b7db63d5c244078ae0459830fcee609a8e39 |
24 |
+DIST less-534.tar.gz 341351 BLAKE2B f309e486c80eb7573ebffa6cd0d43205bb517a0e1f56116ddca739fb5a94cb010157d7f64507a4e32401e28f499d25b9f1c33d160416cef8f7fba01c62cd218e SHA512 b6896061616b30ccdf4e4f03d95ed5372e912dd42832903015bb7ca1fc5596813b86581f02c6a34f6d6cc0e56f58ff62c8a7e1488a7014bd23acaca9236493fe |
25 |
|
26 |
diff --git a/sys-apps/less/less-534.ebuild b/sys-apps/less/less-534.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c4d58efa226 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/less/less-534.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+DESCRIPTION="Excellent text file viewer" |
38 |
+HOMEPAGE="http://www.greenwoodsoftware.com/less/" |
39 |
+SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="|| ( GPL-3 BSD-2 )" |
42 |
+SLOT="0" |
43 |
+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" |
44 |
+IUSE="pcre unicode" |
45 |
+ |
46 |
+DEPEND=">=app-misc/editor-wrapper-3 |
47 |
+ >=sys-libs/ncurses-5.2:0= |
48 |
+ pcre? ( dev-libs/libpcre )" |
49 |
+RDEPEND="${DEPEND}" |
50 |
+ |
51 |
+src_configure() { |
52 |
+ export ac_cv_lib_ncursesw_initscr=$(usex unicode) |
53 |
+ export ac_cv_lib_ncurses_initscr=$(usex !unicode) |
54 |
+ local myeconfargs=( |
55 |
+ --with-regex=$(usex pcre pcre posix) |
56 |
+ --with-editor="${EPREFIX}"/usr/libexec/editor |
57 |
+ ) |
58 |
+ econf "${myeconfargs[@]}" |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ |
64 |
+ newbin "${FILESDIR}"/lesspipe.sh lesspipe |
65 |
+ newenvd "${FILESDIR}"/less.envd 70less |
66 |
+} |
67 |
+ |
68 |
+pkg_preinst() { |
69 |
+ if has_version "<${CATEGORY}/${PN}-483-r1" ; then |
70 |
+ elog "The lesspipe.sh symlink has been dropped. If you are still setting" |
71 |
+ elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'." |
72 |
+ elog "Colorization support has been dropped. If you want that, check out" |
73 |
+ elog "the new app-text/lesspipe package." |
74 |
+ fi |
75 |
+} |