summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-02-27 11:43:10 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-02-27 11:44:14 +0100
commit1277c42208849b5efd0920e4cf57fec4901d9835 (patch)
tree322c545a75625334e0322154b07c0fe3ee884acc /sys-apps
parentsys-apps/kmod: Removed old. (diff)
downloadgentoo-1277c42208849b5efd0920e4cf57fec4901d9835.tar.gz
gentoo-1277c42208849b5efd0920e4cf57fec4901d9835.tar.bz2
gentoo-1277c42208849b5efd0920e4cf57fec4901d9835.zip
sys-apps/less: Bump to version 488
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/less/Manifest1
-rw-r--r--sys-apps/less/less-488.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index c72d12708b02..304402479cdb 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -2,3 +2,4 @@ DIST code2color-0.2 200711 SHA256 2365c9009b1cc3c30430b88775ec402164df105fd12364
DIST less-481.tar.gz 316622 SHA256 3fa38f2cf5e9e040bb44fffaa6c76a84506e379e47f5a04686ab78102090dda5 SHA512 29995757ac416ed6770cf6e82e6fe325bd1d61d51666d80c4fe72b2b4217b0b1d706d337d89ed54bdc4d83d57f3e2c0166e642b20ef2ad194e52aad630b3e717 WHIRLPOOL e5c8b22d7d1149feafdad0130e00aa5564e818a845c3b4e2b6d151e851dd64ff390fdad01ee79580fe6ab92defc11930d3f3e0ca0d189d2882419444a3d7028c
DIST less-483.tar.gz 316897 SHA256 7ebb1a0a141a94f863c0b83eff94fb115d716802fabe8007e442adbaf81ce41f SHA512 2377e439516655f365cc02484cda9a7079e53684d774e6499d4afaef4d7ac72eab109924af14122f51bff2e2f15d527ab5bc513f3600f22c9bd8e722cb8392bc WHIRLPOOL e54fe3a4a9366f5220129e64a63ef1827d893c88e148783305076042aa112f0d00253601634678d83ab2b20c5c7ba820a7f1dd057c950ba043a7379d17b6a0ba
DIST less-487.tar.gz 318488 SHA256 f3dc8455cb0b2b66e0c6b816c00197a71bf6d1787078adeee0bcf2aea4b12706 SHA512 d31274fdada570fbc6706d7c52637d1accbd18ce947ec062e10b1624c251a8533c6638bc3a1d89d3c70a0c7b9c6d45740598bec9003f281d64c587b1f829125a WHIRLPOOL e1a6c5dc2ea17e57226083f022d3c39b8a9d17428b7aa15385138680e78fa1ee22800e216a40fe5aa0ca38ca4c0025792a2839031faabdf8f9384dec3c750f74
+DIST less-488.tar.gz 318564 SHA256 f3b622a7b1d29a28b327357cacfd3b0e8e50710eeb6d290107e478f3f0ca15a2 SHA512 2483fd417981a92b415989ecca4e58e239ad71d687b59674f0c5557c2ff4f6d111f7dd528f15fe7002217125597f329a70a831f5d7ea67883ed8c236a0a7e6c6 WHIRLPOOL bce3064c2ee7fb1c7e0737dfb0743b1aa8210f3b14b36701a8a6c478098a4b7af18162060ff37d56311ebfe037e3138a18784cb63fbd7aa0a37f19433271faf6
diff --git a/sys-apps/less/less-488.ebuild b/sys-apps/less/less-488.ebuild
new file mode 100644
index 000000000000..5a35db953d3f
--- /dev/null
+++ b/sys-apps/less/less-488.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}