summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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