pkgsrc/games/scummvm/options.mk

24 lines
597 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.7 2012/02/27 13:58:05 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.scummvm
PKG_SUPPORTED_OPTIONS= sdl x11 fluidsynth
PKG_SUGGESTED_OPTIONS= sdl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfluidsynth)
.include "../../audio/fluidsynth/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+= --backend=sdl
.include "../../devel/SDL/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --backend=x11
.include "../../mk/oss.buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.endif