1 |
commit: a2f64318e2d435d4a0eef1e3011e53173e53325e |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 18 06:17:13 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 18 06:17:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2f64318 |
7 |
|
8 |
sys-apps/less: Bump to version 550 |
9 |
|
10 |
Package-Manager: Portage-2.3.60, 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-550.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest |
18 |
index 6c4bc7844f9..d45dbd15e60 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-548.tar.gz 346139 BLAKE2B 0cdea7f3db069b8f4b4a070067f1956f0f2d86ff8061506c330fdcf4b3cfdbc56f22ffaba782190d799685129a446ef68bd3349fb50491ad6d84b6feee05fa65 SHA512 4e42ed3812d038634a12ae6f719869b228fe4ec270ceda560afb666543669f40c0c5746fc9b94c00584e78db356d900347ec5b7e3ca15249a9656dbd8b6b8dcb |
24 |
DIST less-549.tar.gz 346978 BLAKE2B 840ff54567d241cd4cfb90e91d3e004da09a3dfe4b8595aebdf69e0fb9c534e9da3bfe4953d51fcab67c86fbaa1e7bd9f318bd18856bf051895995715df7e827 SHA512 f0f86db00ee7a0ed638dfe2183e5cd6a9728d6e4cb9f054a746716abf6fe297f33b6f1d44bd4eac8ad360da564c4ea50cd6f41d297f857c78414961d28f4155c |
25 |
+DIST less-550.tar.gz 347026 BLAKE2B b033cb09d1bb9624c56db14084c73e5154e36cebd3f757dd2cb1b012b8797e7647d152bb67ce4ea9c2d188b1252fd7ddfd8a113656af5ec9a1e688145d4d9265 SHA512 a3d2769d90589a8e6afbfc9ac10cd1b544e0b0bbe28884e5ad980a71c541a37545c11d3450984b346b516fe082dfc0cf89d246c5a2d6002a7a2b4a4296a15494 |
26 |
|
27 |
diff --git a/sys-apps/less/less-550.ebuild b/sys-apps/less/less-550.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..f04887b62ff |
30 |
--- /dev/null |
31 |
+++ b/sys-apps/less/less-550.ebuild |
32 |
@@ -0,0 +1,44 @@ |
33 |
+# Copyright 1999-2019 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 |
+} |