diff options
author | adam <adam@pkgsrc.org> | 2005-03-22 08:46:26 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2005-03-22 08:46:26 +0000 |
commit | cd164f904bb369aeba9130fa308c11352d6a9727 (patch) | |
tree | efa2b7e2c07f04f2a5805f3324c9bc0a2629dbf4 /emulators/atari800/options.mk | |
parent | 45e9f35557449f1a660180a9d6610f769d3e9414 (diff) | |
download | pkgsrc-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.mk | 17 |
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 |