summaryrefslogtreecommitdiff
path: root/misc/less/options.mk
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/options.mk
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/options.mk')
-rw-r--r--misc/less/options.mk11
1 files changed, 11 insertions, 0 deletions
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