summaryrefslogtreecommitdiff
path: root/emulators/atari800/options.mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-03-22 08:46:26 +0000
committeradam <adam@pkgsrc.org>2005-03-22 08:46:26 +0000
commitcd164f904bb369aeba9130fa308c11352d6a9727 (patch)
treeefa2b7e2c07f04f2a5805f3324c9bc0a2629dbf4 /emulators/atari800/options.mk
parent45e9f35557449f1a660180a9d6610f769d3e9414 (diff)
downloadpkgsrc-cd164f904bb369aeba9130fa308c11352d6a9727.tar.gz
Use options framework: build either with X11 or SDL
Diffstat (limited to 'emulators/atari800/options.mk')
-rw-r--r--emulators/atari800/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/atari800/options.mk b/emulators/atari800/options.mk
new file mode 100644
index 00000000000..01e35fc4f62
--- /dev/null
+++ b/emulators/atari800/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2005/03/22 08:46:26 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.atari800
+PKG_DEFAULT_OPTIONS= x11
+PKG_SUPPORTED_OPTIONS= sdl x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
+USE_X11= yes
+CONFIGURE_ARGS+= --target=x11
+.endif
+
+.if !empty(PKG_OPTIONS:Msdl)
+CONFIGURE_ARGS+= --target=sdl
+.include "../../devel/SDL/buildlink3.mk"
+.endif