summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/nano/Makefile3
-rw-r--r--editors/nano/options.mk10
2 files changed, 9 insertions, 4 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile
index da96ab7fe56..78ec067aed9 100644
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2007/12/23 10:00:09 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2008/02/21 21:56:29 jlam Exp $
DISTNAME= nano-2.0.7
+PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://www.nano-editor.org/dist/v2.0/
diff --git a/editors/nano/options.mk b/editors/nano/options.mk
index fd9cdfd813b..9bebe99164e 100644
--- a/editors/nano/options.mk
+++ b/editors/nano/options.mk
@@ -1,11 +1,15 @@
-# $NetBSD: options.mk,v 1.1 2007/10/24 15:28:38 obache Exp $
+# $NetBSD: options.mk,v 1.2 2008/02/21 21:56:29 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nano
-PKG_SUPPORTED_OPTIONS= ncursesw
+PKG_SUPPORTED_OPTIONS= wide-curses
+PKG_LEGACY_OPTS+= ncursesw:wide-curses
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mncursesw)
+###
+### Wide curses support; otherwise, default to using narrow curses.
+###
+.if !empty(PKG_OPTIONS:Mwide-curses)
. include "../../devel/ncursesw/buildlink3.mk"
.else
. include "../../mk/curses.buildlink3.mk"