pkgsrc/misc/fbreader/options.mk
2017-09-26 09:43:28 +00:00

26 lines
591 B
Makefile

# $NetBSD: options.mk,v 1.3 2017/09/26 09:43:28 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fbreader
PKG_OPTIONS_REQUIRED_GROUPS= gui
PKG_OPTIONS_GROUP.gui= gtk2 qt4
PKG_SUPPORTED_OPTIONS= debug
PKG_SUGGESTED_OPTIONS= qt4
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
MAKE_ENV+= TARGET_STATUS=debug
.else
MAKE_ENV+= TARGET_STATUS=release
.endif
.if !empty(PKG_OPTIONS:Mgtk2)
.include "../../x11/gtk2/buildlink3.mk"
MAKE_ENV+= UI_TYPE=gtk
USE_TOOLS+= pkg-config
.endif
.if !empty(PKG_OPTIONS:Mqt4)
.include "../../x11/qt4-libs/buildlink3.mk"
MAKE_ENV+= UI_TYPE=qt4
.endif