summaryrefslogtreecommitdiff
path: root/games/scummvm/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'games/scummvm/options.mk')
-rw-r--r--games/scummvm/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/scummvm/options.mk b/games/scummvm/options.mk
new file mode 100644
index 00000000000..26f2216ed1c
--- /dev/null
+++ b/games/scummvm/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2005/03/29 08:48:31 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.scummvm
+PKG_DEFAULT_OPTIONS= sdl
+PKG_SUPPORTED_OPTIONS= sdl x11
+
+.include "../../mk/bsd.options.mk"
+
+.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/ossaudio.buildlink3.mk"
+.endif