summaryrefslogtreecommitdiff
path: root/editors/nano/options.mk
blob: 9bebe99164e6eeb41b2c0729ddab9e1a87c7926f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: options.mk,v 1.2 2008/02/21 21:56:29 jlam Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.nano
PKG_SUPPORTED_OPTIONS=	wide-curses
PKG_LEGACY_OPTS+=	ncursesw:wide-curses

.include "../../mk/bsd.options.mk"

###
### 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"
.endif