29 lines
620 B
Makefile
29 lines
620 B
Makefile
# $NetBSD: options.mk,v 1.2 2011/06/11 18:49:31 shattered 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"
|