pkgsrc/editors/nano/options.mk

17 lines
431 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.3 2012/08/27 10:37:51 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nano
PKG_SUPPORTED_OPTIONS= wide-curses
PKG_OPTIONS_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