summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjlam <jlam>2008-02-21 21:56:29 +0000
committerjlam <jlam>2008-02-21 21:56:29 +0000
commit04e5af9d3a87ea2cc54af79e0183fc38cb1aadc0 (patch)
tree7dba38f35a8221604fd64763c371317cd3a6c0d7 /editors
parent1413da1583945eafc668f0ad676e5912364a7712 (diff)
downloadpkgsrc-04e5af9d3a87ea2cc54af79e0183fc38cb1aadc0.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')
-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"