diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-09-26 00:12:32 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-09-26 00:21:36 +0200 |
commit | ddf422909fb8b4b6b4051ef065c474d02abb4aa5 (patch) | |
tree | 0d4b4672a605004c013a4a970db67676a6834699 /sys-apps/less | |
parent | profiles: Remove last-rited packages (diff) | |
download | gentoo-ddf422909fb8b4b6b4051ef065c474d02abb4aa5.tar.gz gentoo-ddf422909fb8b4b6b4051ef065c474d02abb4aa5.tar.bz2 gentoo-ddf422909fb8b4b6b4051ef065c474d02abb4aa5.zip |
sys-apps/less: Bump to version 520.
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'sys-apps/less')
-rw-r--r-- | sys-apps/less/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/less/less-520.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest index f8e1f6e313a2..8e5345efcd3a 100644 --- a/sys-apps/less/Manifest +++ b/sys-apps/less/Manifest @@ -1,3 +1,4 @@ DIST less-487.tar.gz 318488 SHA256 f3dc8455cb0b2b66e0c6b816c00197a71bf6d1787078adeee0bcf2aea4b12706 SHA512 d31274fdada570fbc6706d7c52637d1accbd18ce947ec062e10b1624c251a8533c6638bc3a1d89d3c70a0c7b9c6d45740598bec9003f281d64c587b1f829125a WHIRLPOOL e1a6c5dc2ea17e57226083f022d3c39b8a9d17428b7aa15385138680e78fa1ee22800e216a40fe5aa0ca38ca4c0025792a2839031faabdf8f9384dec3c750f74 DIST less-494.tar.gz 320397 SHA256 02a476dccd12e1b76e5d91259cba5dac1b8c8e5a730465c1c89c798b19741509 SHA512 e094309009c081a01da24f711ebbb22637663e06476ad2a7bcc780a2a3df826ec722dd78585fee6ef97d7fe1890ebbb263a38d41bfaa8ff4296b6d4ae3f10974 WHIRLPOOL 4a037b1cd356933377f99d8d0ed1969ffea9d5ba26a719c1ceea1a56b102d959698e555154c08c5154a7b2a364824a6e3f4df9064b9df9015dced2b130448e52 DIST less-497.tar.gz 321341 SHA256 3a8260a485f85a8aada748559cc42d6e8261325fbcb7d32fff6e60ac837b3ff2 SHA512 8c0efb6e7f775cb0fde69f418b7a9218330b4f8dd1ab630dc75f833ab1658a1580cfd2f5a471b8cf9fb3a0c44d0b3052b09d95b4b166afef0500192cb028dde2 WHIRLPOOL 48c19985baf80c2c75a12a5348d8e3a701be84d816370db1993aeb39fc32ffcb6c8656863cd277f55d0e7596a4173a3d2aefad7d5150af5311ccaaba70895413 +DIST less-520.tar.gz 337959 SHA256 7b89ea8e605c242f792594ca81dc89979f3537d8cce578f628329c748004908b SHA512 67b51f4734a3b5a7871509110f87bbd6d1fa3068ad2d524adaa07b8917ff18a962b706cf5d55cf9800a39f9e583f21d0249837841d3c999babaaf5aa2bc4ff9d WHIRLPOOL 39e78c7a34b229978935c2e9b9013214caa7323a624fce83294c47ebff614e284a7c45072ab88bbf8ab69ee4dd2e87e59e4053687ae137c8a8a480027f72b0c3 diff --git a/sys-apps/less/less-520.ebuild b/sys-apps/less/less-520.ebuild new file mode 100644 index 000000000000..643a59bc2b71 --- /dev/null +++ b/sys-apps/less/less-520.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Excellent text file viewer" +HOMEPAGE="http://www.greenwoodsoftware.com/less/" +SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz" + +LICENSE="|| ( GPL-3 BSD-2 )" +SLOT="0" +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" +IUSE="pcre unicode" + +DEPEND=">=app-misc/editor-wrapper-3 + >=sys-libs/ncurses-5.2:0= + pcre? ( dev-libs/libpcre )" +RDEPEND="${DEPEND}" + +src_configure() { + export ac_cv_lib_ncursesw_initscr=$(usex unicode) + export ac_cv_lib_ncurses_initscr=$(usex !unicode) + econf \ + --with-regex=$(usex pcre pcre posix) \ + --with-editor="${EPREFIX}"/usr/libexec/editor +} + +src_install() { + default + + newbin "${FILESDIR}"/lesspipe.sh lesspipe + newenvd "${FILESDIR}"/less.envd 70less +} + +pkg_preinst() { + if has_version "<${CATEGORY}/${PN}-483-r1" ; then + elog "The lesspipe.sh symlink has been dropped. If you are still setting" + elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'." + elog "Colorization support has been dropped. If you want that, check out" + elog "the new app-text/lesspipe package." + fi +} |