summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-12-23 10:46:44 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-12-23 10:46:44 +0100
commit7d804441eb8337abb95452eba958cf3646e26b9f (patch)
tree1dc6c0a4080f89e52d8a65e0044ec07d09387406
parentsys-apps/groff: Bump to version 1.22.4_rc5. Removed old. (diff)
downloadgentoo-7d804441.tar.gz
gentoo-7d804441.tar.bz2
gentoo-7d804441.zip
sys-apps/less: Bump to version 548
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sys-apps/less/Manifest1
-rw-r--r--sys-apps/less/less-548.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index 88d386790188..3704decded89 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -2,3 +2,4 @@ DIST less-530.tar.gz 339723 BLAKE2B 9321548b06330c0b1b5b5a36147f5b9348619ff15d90
DIST less-531.tar.gz 340466 BLAKE2B 6ac75b623fce478114d18cff429659499fedf4ef1a7bb067465ace91c28a7968efb224a4994a1e376a8cf40b110492f10ecda634628029107b38187044a0cd1e SHA512 180b665f194d7cc40d4bbb37bd64b10be463c0705e81795bef84b20dbba1c61825bb3e3da8bcd79f9176bb3af7b1f4e4c3dfe0829a5a2195a11f5b42294daca1
DIST less-546.tar.gz 345927 BLAKE2B b9e5f31f5c9e51cb4885935b04c9ec151211b3b4cf8684b7efc2f1c83de0d8f0bc0589a2efc4e24abfd1d1e9fc9df9e3b21bc2fe64131e74fc1d7865b5286983 SHA512 bdfb1501b65d7f17b09293b00f04dd3ea3f5edebf981d9530a12bdfb9a95676823328e2eb42e45b2d924f09883e1632d09fefb564645b6029e2f2dade6bb7654
DIST less-547.tar.gz 346045 BLAKE2B c6f8dedd0f2f3e4383617ed0013c08b74416e4b804f1dfb5f8617c929d7f2b0d8cb0590d765e9cd98c224c98511532e8ce892948eacd6ada489566f0e038a31f SHA512 4f85019a6617b90ac1dec4009f62e6ca223af326b08d1f39eaea39d96b5e975f4cc0072cdfa73cff8fa71fe7859cba36f0e58104cc5754fa5b262d8341743d51
+DIST less-548.tar.gz 346139 BLAKE2B 0cdea7f3db069b8f4b4a070067f1956f0f2d86ff8061506c330fdcf4b3cfdbc56f22ffaba782190d799685129a446ef68bd3349fb50491ad6d84b6feee05fa65 SHA512 4e42ed3812d038634a12ae6f719869b228fe4ec270ceda560afb666543669f40c0c5746fc9b94c00584e78db356d900347ec5b7e3ca15249a9656dbd8b6b8dcb
diff --git a/sys-apps/less/less-548.ebuild b/sys-apps/less/less-548.ebuild
new file mode 100644
index 000000000000..3bc3bf389320
--- /dev/null
+++ b/sys-apps/less/less-548.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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 ~x86-fbsd ~amd64-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/libpcre2 )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ export ac_cv_lib_ncursesw_initscr=$(usex unicode)
+ export ac_cv_lib_ncurses_initscr=$(usex !unicode)
+ local myeconfargs=(
+ --with-regex=$(usex pcre pcre2 posix)
+ --with-editor="${EPREFIX}"/usr/libexec/editor
+ )
+ econf "${myeconfargs[@]}"
+}
+
+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
+}