diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-03 11:20:40 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-07-03 23:12:39 +0200 |
commit | 0826a45301e7ca95297c60873e925e98baf6fccb (patch) | |
tree | fcba2c7523f504ce3fc8882e85912644d1b02b3e /sys-apps/less | |
parent | net-wireless/uhd: these packages do not build with ncurses[tinfo] (diff) | |
download | gentoo-0826a45301e7ca95297c60873e925e98baf6fccb.tar.gz gentoo-0826a45301e7ca95297c60873e925e98baf6fccb.tar.bz2 gentoo-0826a45301e7ca95297c60873e925e98baf6fccb.zip |
sys-apps/less: Bump to version 494
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sys-apps/less')
-rw-r--r-- | sys-apps/less/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/less/less-494.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest index 5aca44e9bdd1..64f2eb9a0142 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-492.tar.gz 320427 SHA256 460fec523b3a9c2de22f2a11403820b21dcc6c0d3d5004ebad0bee3fde4db175 SHA512 e23d3bef4680b51d3068b2c22f4a2be1bbb00256b2480a3c89f986c42ba54f8fef0a1ce96cfd11dbc4f4c38ae95458cbc7b32493ee4d73b1309529c78acaa37e WHIRLPOOL 5903e1d847a77dc4e67a25f762aabf4311b4374b5360aa9528a8f8c2b91205ca27434510e5c9d67bfb6c9c81f1fdfe860a4b6b11d51129fef06867f897d144b1 DIST less-493.tar.gz 320214 SHA256 8b818f58ebf90f566e3c6be6c06209e245c9018c754d0d338bb925ea2f240d73 SHA512 806d8d6cbd2895b875e0ef440908d92c93dc218401a1937c03f5820069d889e8263d779f9f435cdf3f26f3844f0b6bb14cbd25320ade58dc1aec56f3096eb952 WHIRLPOOL ec9016613c2e2df042f911dfe07699af1f4fc8a86bbadb40b3405013e7c26045a14fb04997e54b8133a73c7ae0b3d238b3352b17d8a9a75b5afbb263a4841de5 +DIST less-494.tar.gz 320397 SHA256 02a476dccd12e1b76e5d91259cba5dac1b8c8e5a730465c1c89c798b19741509 SHA512 e094309009c081a01da24f711ebbb22637663e06476ad2a7bcc780a2a3df826ec722dd78585fee6ef97d7fe1890ebbb263a38d41bfaa8ff4296b6d4ae3f10974 WHIRLPOOL 4a037b1cd356933377f99d8d0ed1969ffea9d5ba26a719c1ceea1a56b102d959698e555154c08c5154a7b2a364824a6e3f4df9064b9df9015dced2b130448e52 diff --git a/sys-apps/less/less-494.ebuild b/sys-apps/less/less-494.ebuild new file mode 100644 index 000000000000..9c55ece254f6 --- /dev/null +++ b/sys-apps/less/less-494.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +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_prepare() { + chmod a+x configure || die +} + +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 +} |