summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-04-22 11:52:51 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-04-22 11:53:36 +0200
commitb8252e6ac4e60dffacf0208afe26f546590afa32 (patch)
tree4a5a668d16134db6d0c2cd7d52ddd52d2be7d30c /sys-apps
parentmedia-gfx/wings: Old. (diff)
downloadgentoo-b8252e6ac4e60dffacf0208afe26f546590afa32.tar.gz
gentoo-b8252e6ac4e60dffacf0208afe26f546590afa32.tar.bz2
gentoo-b8252e6ac4e60dffacf0208afe26f546590afa32.zip
sys-apps/less: Bump to version 492
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/less/Manifest1
-rw-r--r--sys-apps/less/less-492.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index 1fbd87d17bf2..d69de3ba07b4 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-488.tar.gz 318564 SHA256 f3b622a7b1d29a28b327357cacfd3b0e8e50710eeb6d290107e478f3f0ca15a2 SHA512 2483fd417981a92b415989ecca4e58e239ad71d687b59674f0c5557c2ff4f6d111f7dd528f15fe7002217125597f329a70a831f5d7ea67883ed8c236a0a7e6c6 WHIRLPOOL bce3064c2ee7fb1c7e0737dfb0743b1aa8210f3b14b36701a8a6c478098a4b7af18162060ff37d56311ebfe037e3138a18784cb63fbd7aa0a37f19433271faf6
DIST less-491.tar.gz 320276 SHA256 1b40da1d58e9604b50bc75fd31c8591e6138a627a9525572c6c4232dee4c83fd SHA512 51f3e6d835066c16392cbf8b804d204b53ef128ce0c6d8553c7722351b7b48760abf516236c7ff6b83fd66700c01e78e90c836d6b82b726dd3a3bede851edf61 WHIRLPOOL 6c05eae01e506f7a3ea198736e3ad38e2711c6f968867c3d731318acab8d399505b01711a0f4a60ef7110c3b05f056ba133176d07f2d44b39e9ad4f81cff6cce
+DIST less-492.tar.gz 320427 SHA256 460fec523b3a9c2de22f2a11403820b21dcc6c0d3d5004ebad0bee3fde4db175 SHA512 e23d3bef4680b51d3068b2c22f4a2be1bbb00256b2480a3c89f986c42ba54f8fef0a1ce96cfd11dbc4f4c38ae95458cbc7b32493ee4d73b1309529c78acaa37e WHIRLPOOL 5903e1d847a77dc4e67a25f762aabf4311b4374b5360aa9528a8f8c2b91205ca27434510e5c9d67bfb6c9c81f1fdfe860a4b6b11d51129fef06867f897d144b1
diff --git a/sys-apps/less/less-492.ebuild b/sys-apps/less/less-492.ebuild
new file mode 100644
index 000000000000..9c55ece254f6
--- /dev/null
+++ b/sys-apps/less/less-492.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
+}