summaryrefslogtreecommitdiff
path: root/misc/less
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-03-02 15:35:33 +0000
committerbjs <bjs@pkgsrc.org>2008-03-02 15:35:33 +0000
commit1ad1a47d647fb03c5d20200a98518e7ab3ff44b7 (patch)
tree625062369290ccbe4c95ae95fd76aa5efdcd3bb7 /misc/less
parent05eb7d3eaf03a098ae14f662d290d04af3eeccae (diff)
downloadpkgsrc-1ad1a47d647fb03c5d20200a98518e7ab3ff44b7.tar.gz
Update to less-418. Too many changes to list here--see ChangeLog.
While here, add a pcre option. TODO: support for various curses libraries.
Diffstat (limited to 'misc/less')
-rw-r--r--misc/less/Makefile9
-rw-r--r--misc/less/distinfo8
-rw-r--r--misc/less/options.mk11
3 files changed, 22 insertions, 6 deletions
diff --git a/misc/less/Makefile b/misc/less/Makefile
index 0a6687200c4..837cc78548b 100644
--- a/misc/less/Makefile
+++ b/misc/less/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2007/12/02 11:22:24 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2008/03/02 15:35:33 bjs Exp $
#
-DISTNAME= less-394
+DISTNAME= less-418
CATEGORIES= misc
MASTER_SITES= http://www.greenwoodsoftware.com/less/
@@ -9,8 +9,13 @@ MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.greenwoodsoftware.com/less/
COMMENT= Pager similar to more and pg
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+.include "options.mk"
+
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/less/distinfo b/misc/less/distinfo
index 34d5c32e367..a17b205ea71 100644
--- a/misc/less/distinfo
+++ b/misc/less/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2007/04/25 18:06:51 tnn Exp $
+$NetBSD: distinfo,v 1.11 2008/03/02 15:35:33 bjs Exp $
-SHA1 (less-394.tar.gz) = fa0d9aa30ec461866786c4080bb594fc3337bb02
-RMD160 (less-394.tar.gz) = a0ab2583a38a1c6dcfe6ee23f535f7f341742116
-Size (less-394.tar.gz) = 292585 bytes
+SHA1 (less-418.tar.gz) = ec4fb48680878a7ac3499c46564c47c448b0aa22
+RMD160 (less-418.tar.gz) = a10402aa423e3d3c4d950735208991d7d4afb85d
+Size (less-418.tar.gz) = 299213 bytes
SHA1 (patch-aa) = 60eb5a9b9901ceafbf7b17647018e4c311a13101
SHA1 (patch-ac) = af806f0965d3a92dafdf54fdc96a8c29635d6380
diff --git a/misc/less/options.mk b/misc/less/options.mk
new file mode 100644
index 00000000000..745c6d42750
--- /dev/null
+++ b/misc/less/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2008/03/02 15:35:33 bjs Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.less
+PKG_SUPPORTED_OPTIONS= pcre
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpcre)
+CONFIGURE_ARGS+= --with-regex=pcre
+. include "../../devel/pcre/buildlink3.mk"
+.endif