summaryrefslogtreecommitdiff
path: root/emulators/pearpc/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/pearpc/options.mk')
-rw-r--r--emulators/pearpc/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/pearpc/options.mk b/emulators/pearpc/options.mk
new file mode 100644
index 00000000000..1ab21ce8d3b
--- /dev/null
+++ b/emulators/pearpc/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2005/12/22 19:27:36 ghen Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pearpc
+PKG_OPTIONS_REQUIRED_GROUPS= ui
+PKG_OPTIONS_GROUP.ui= x11 sdl
+PKG_SUGGESTED_OPTIONS= x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
+CONFIGURE_ARGS+= --enable-ui=x11
+.endif
+
+.if !empty(PKG_OPTIONS:Msdl)
+CONFIGURE_ARGS+= --enable-ui=sdl
+.include "../../devel/SDL/buildlink3.mk"
+.endif