pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/nano + Rename the "ncursesw" option to "wide-c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20058de8b4a0
branches:  trunk
changeset: 538959:20058de8b4a0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 21 21:56:29 2008 +0000

description:
+ Rename the "ncursesw" option to "wide-curses".  This should be supported
  under NetBSD-current without actually needing ncursesw.

Bump the PKGREVISION to 1.

diffstat:

 editors/nano/Makefile   |   3 ++-
 editors/nano/options.mk |  10 +++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r bbea72b6d527 -r 20058de8b4a0 editors/nano/Makefile
--- a/editors/nano/Makefile     Thu Feb 21 21:55:18 2008 +0000
+++ b/editors/nano/Makefile     Thu Feb 21 21:56:29 2008 +0000
@@ -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 -r bbea72b6d527 -r 20058de8b4a0 editors/nano/options.mk
--- a/editors/nano/options.mk   Thu Feb 21 21:55:18 2008 +0000
+++ b/editors/nano/options.mk   Thu Feb 21 21:56:29 2008 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index