1 |
commit: 1277c42208849b5efd0920e4cf57fec4901d9835 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 27 10:43:10 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 10:44:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1277c422 |
7 |
|
8 |
sys-apps/less: Bump to version 488 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sys-apps/less/Manifest | 1 + |
13 |
sys-apps/less/less-488.ebuild | 47 +++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest |
17 |
index c72d12708b..304402479c 100644 |
18 |
--- a/sys-apps/less/Manifest |
19 |
+++ b/sys-apps/less/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST code2color-0.2 200711 SHA256 2365c9009b1cc3c30430b88775ec402164df105fd12364 |
21 |
DIST less-481.tar.gz 316622 SHA256 3fa38f2cf5e9e040bb44fffaa6c76a84506e379e47f5a04686ab78102090dda5 SHA512 29995757ac416ed6770cf6e82e6fe325bd1d61d51666d80c4fe72b2b4217b0b1d706d337d89ed54bdc4d83d57f3e2c0166e642b20ef2ad194e52aad630b3e717 WHIRLPOOL e5c8b22d7d1149feafdad0130e00aa5564e818a845c3b4e2b6d151e851dd64ff390fdad01ee79580fe6ab92defc11930d3f3e0ca0d189d2882419444a3d7028c |
22 |
DIST less-483.tar.gz 316897 SHA256 7ebb1a0a141a94f863c0b83eff94fb115d716802fabe8007e442adbaf81ce41f SHA512 2377e439516655f365cc02484cda9a7079e53684d774e6499d4afaef4d7ac72eab109924af14122f51bff2e2f15d527ab5bc513f3600f22c9bd8e722cb8392bc WHIRLPOOL e54fe3a4a9366f5220129e64a63ef1827d893c88e148783305076042aa112f0d00253601634678d83ab2b20c5c7ba820a7f1dd057c950ba043a7379d17b6a0ba |
23 |
DIST less-487.tar.gz 318488 SHA256 f3dc8455cb0b2b66e0c6b816c00197a71bf6d1787078adeee0bcf2aea4b12706 SHA512 d31274fdada570fbc6706d7c52637d1accbd18ce947ec062e10b1624c251a8533c6638bc3a1d89d3c70a0c7b9c6d45740598bec9003f281d64c587b1f829125a WHIRLPOOL e1a6c5dc2ea17e57226083f022d3c39b8a9d17428b7aa15385138680e78fa1ee22800e216a40fe5aa0ca38ca4c0025792a2839031faabdf8f9384dec3c750f74 |
24 |
+DIST less-488.tar.gz 318564 SHA256 f3b622a7b1d29a28b327357cacfd3b0e8e50710eeb6d290107e478f3f0ca15a2 SHA512 2483fd417981a92b415989ecca4e58e239ad71d687b59674f0c5557c2ff4f6d111f7dd528f15fe7002217125597f329a70a831f5d7ea67883ed8c236a0a7e6c6 WHIRLPOOL bce3064c2ee7fb1c7e0737dfb0743b1aa8210f3b14b36701a8a6c478098a4b7af18162060ff37d56311ebfe037e3138a18784cb63fbd7aa0a37f19433271faf6 |
25 |
|
26 |
diff --git a/sys-apps/less/less-488.ebuild b/sys-apps/less/less-488.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000000..5a35db953d |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/less/less-488.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI="5" |
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 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-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_prepare() { |
53 |
+ chmod a+x configure || die |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ export ac_cv_lib_ncursesw_initscr=$(usex unicode) |
58 |
+ export ac_cv_lib_ncurses_initscr=$(usex !unicode) |
59 |
+ econf \ |
60 |
+ --with-regex=$(usex pcre pcre posix) \ |
61 |
+ --with-editor="${EPREFIX}"/usr/libexec/editor |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ default |
66 |
+ |
67 |
+ newbin "${FILESDIR}"/lesspipe.sh lesspipe |
68 |
+ newenvd "${FILESDIR}"/less.envd 70less |
69 |
+} |
70 |
+ |
71 |
+pkg_preinst() { |
72 |
+ if has_version "<${CATEGORY}/${PN}-483-r1" ; then |
73 |
+ elog "The lesspipe.sh symlink has been dropped. If you are still setting" |
74 |
+ elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'." |
75 |
+ elog "Colorization support has been dropped. If you want that, check out" |
76 |
+ elog "the new app-text/lesspipe package." |
77 |
+ fi |
78 |
+} |