1 |
commit: 31306fd9f4e5a11350b0a0df587d1ad7a743df52 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 20 11:36:12 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 20 11:37:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31306fd9 |
7 |
|
8 |
sys-apps/less: Bump to version 544 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/less/Manifest | 1 + |
14 |
sys-apps/less/less-544.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest |
18 |
index ef1b703c33c..404e172a9a1 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-541.tar.gz 342956 BLAKE2B aaefc6b1486c220405a2c9288d3aa78099356468ee695991f4ea05a1431444dc1fd46ca92a65625dc33662f6ce669319e3d12d297e068efb24d252229d775ff9 SHA512 384f79b4acbdbf1b7d4de128a9ede405302633d78e5c057a8a4e568022072f0a73172f7bb7f2f9e45508cc8a0f4f0fa353945445a5bc59ee978dede1299e7b48 |
24 |
DIST less-542.tar.gz 343847 BLAKE2B 3f7a6eaa2f16c3f93145c23642dc7ffb2658f1d0aa4cc5e1c57fde4d06abeebd1addb614b2ae955efe99ccc05c2ca1a914166e5b55193d9cf318475ee3278904 SHA512 7d19d03c1367bad09cf15d612f7b0b2d328be11d4c9e0dbbfa2e685ef436fd48ab43e86ac91c93c33f53f5d0a9eb2b20d343e9a469a6f06c0363aefb32ca485f |
25 |
+DIST less-544.tar.gz 344126 BLAKE2B 82226e32605028c1914bd95be83813ef7986199f798557f4795c9148f7dfd723e9b1916f34ea6dc51fb58966e8fd97781152e26f2c3939c841b261942e9ba351 SHA512 bcb6c3875b79eddd6b0dc4b8b4ba9047d88e6660322e08917591f6c1a40e68b3bc5a043d00d8e41ee02235b511774995a2b828ca7b213d9d62fde2f732b69cf8 |
26 |
|
27 |
diff --git a/sys-apps/less/less-544.ebuild b/sys-apps/less/less-544.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..3bc3bf38932 |
30 |
--- /dev/null |
31 |
+++ b/sys-apps/less/less-544.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/libpcre2 )" |
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 pcre2 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 |
+} |