summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2019-06-15 10:03:38 +0000
committerleot <leot@pkgsrc.org>2019-06-15 10:03:38 +0000
commit682459fc34b88c3bb52feb310a4b503b229ae305 (patch)
treec3b2d7100890c5f937d3b0f6f86895c8b555a8bd /misc
parent2636bbd0dec5d23488dc42d30dda813bb40871f6 (diff)
downloadpkgsrc-682459fc34b88c3bb52feb310a4b503b229ae305.tar.gz
less: Update to 551
pkgsrc changes: - Adjust regexp options to better match the underlaying configure semantic by introducing a `regex' group and having `pcre' and `regexp' as possible options. - Update LICENSE to reflect the licenses really used - Take MAINTAINERship Changes: Major changes between "less" versions 530 and 551 * Add --mouse option. * Add --wheel-lines option. * Add --no-histdups option. * Add --save-marks option. * Support PCRE2 regular expression library. * Redraw screen on SIGWINCH even if screen size doesn't change. * Shell-escape filenames in history so they can be used again. * Ring bell if user enters invalid long option name. * Use PCRE_UTF8 flag for pcre regular expressions when in UTF-8 mode. * Windows: use wide-char string to set console title. * Don't count lines in initial screen if using -X with -F. * Support mingw build system. * Fix bug in v command on empty file. * Fix bug in v command when filename contains shell metacharacters.
Diffstat (limited to 'misc')
-rw-r--r--misc/less/Makefile8
-rw-r--r--misc/less/distinfo10
-rw-r--r--misc/less/options.mk8
3 files changed, 15 insertions, 11 deletions
diff --git a/misc/less/Makefile b/misc/less/Makefile
index fb8e649ec6b..226dd239c1f 100644
--- a/misc/less/Makefile
+++ b/misc/less/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.27 2018/04/11 08:49:09 leot Exp $
+# $NetBSD: Makefile,v 1.28 2019/06/15 10:03:38 leot Exp $
-DISTNAME= less-530
+DISTNAME= less-551
CATEGORIES= misc
MASTER_SITES= http://www.greenwoodsoftware.com/less/
-MAINTAINER= pkgsrc-users@NetBSD.org
+MAINTAINER= leot@NetBSD.org
HOMEPAGE= http://www.greenwoodsoftware.com/less/
COMMENT= Pager similar to more and pg
-LICENSE= modified-bsd OR gnu-gpl-v2
+LICENSE= 2-clause-bsd OR gnu-gpl-v3
GNU_CONFIGURE= yes
diff --git a/misc/less/distinfo b/misc/less/distinfo
index 0b05b9c2421..661f9c0be88 100644
--- a/misc/less/distinfo
+++ b/misc/less/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2018/04/11 08:49:09 leot Exp $
+$NetBSD: distinfo,v 1.19 2019/06/15 10:03:38 leot Exp $
-SHA1 (less-530.tar.gz) = d8ba1f43e88b706ef701f978cd3262b5b44dffd6
-RMD160 (less-530.tar.gz) = 84b4f46be4f93e7a6db3817d43d0bfd1d01d4ff5
-SHA512 (less-530.tar.gz) = 8d83a18b5648c4fe85921a563aa2c40bcf495aeb611098c83cd167b1e2f706649846cdf457c8506ae2683ab362ad970a0b261747349673020894bccdb9acbc10
-Size (less-530.tar.gz) = 339723 bytes
+SHA1 (less-551.tar.gz) = 7a2dbccd46697ba17189b1e19f75eee5115c19a2
+RMD160 (less-551.tar.gz) = 7011513218523819c0565ffdda305c432a034c11
+SHA512 (less-551.tar.gz) = ef5296b9ebd72f83c05cad8a0f7a5eec2290e9b358ee725e09e8541bd95f94c0e14ea22aa04b287a0654079338eaeae813f2235b8e9f819fbbc9040dd65a9585
+Size (less-551.tar.gz) = 347007 bytes
diff --git a/misc/less/options.mk b/misc/less/options.mk
index 745c6d42750..9be3aa32be1 100644
--- a/misc/less/options.mk
+++ b/misc/less/options.mk
@@ -1,11 +1,15 @@
-# $NetBSD: options.mk,v 1.1 2008/03/02 15:35:33 bjs Exp $
+# $NetBSD: options.mk,v 1.2 2019/06/15 10:03:38 leot Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.less
-PKG_SUPPORTED_OPTIONS= pcre
+PKG_OPTIONS_REQUIRED_GROUPS= regex
+PKG_OPTIONS_GROUP.regex= pcre regexp
+PKG_SUGGESTED_OPTIONS= regexp
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpcre)
CONFIGURE_ARGS+= --with-regex=pcre
. include "../../devel/pcre/buildlink3.mk"
+.elif !empty(PKG_OPTIONS:Mregexp)
+CONFIGURE_ARGS+= --with-regex=posix
.endif