summaryrefslogtreecommitdiff
path: root/editors/nano
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-21 21:56:29 +0000
committerjlam <jlam@pkgsrc.org>2008-02-21 21:56:29 +0000
commite43365812ca2e6c455f379b3616ed4f117821237 (patch)
tree7dba38f35a8221604fd64763c371317cd3a6c0d7 /editors/nano
parentc144340cf5bdc00870e6f41a073872a625c0824d (diff)
downloadpkgsrc-e43365812ca2e6c455f379b3616ed4f117821237.tar.gz
+ Rename the "ncursesw" option to "wide-curses". This should be supported
under NetBSD-current without actually needing ncursesw. Bump the PKGREVISION to 1.
Diffstat (limited to 'editors/nano')
-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"