pkgsrc/misc/screen/options.mk
rillig 191ad3f718 misc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 17:04:19 +00:00

29 lines
619 B
Makefile

# $NetBSD: options.mk,v 1.3 2019/11/03 17:04:27 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.screen
PKG_OPTIONS_OPTIONAL_GROUPS= curses
PKG_OPTIONS_GROUP.curses= curses ncurses pdcurses
PKG_SUPPORTED_OPTIONS= # undef
.include "../../mk/bsd.options.mk"
###
### Override the default curses implemenation
###
.if !empty(PKG_OPTIONS:Mcurses)
CURSES_DEFAULT= curses
.endif
.if !empty(PKG_OPTIONS:Mncurses)
CURSES_DEFAULT= ncurses
CONFIGURE_ARGS+= --enable-colors256
.endif
.if !empty(PKG_OPTIONS:Mpdcurses)
CURSES_DEFAULT= pdcurses
CONFIGURE_ARGS+= --enable-colors256
.endif
.include "../../mk/curses.buildlink3.mk"