Merge from vendor branch TNF:
[pkgsrcv2.git] / games / rocksndiamonds / options.mk
1 # $NetBSD: options.mk,v 1.4 2007/02/02 19:00:45 joerg Exp $
2
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.rocksndiamonds
4 PKG_SUPPORTED_OPTIONS=  sdl x11
5 PKG_SUGGESTED_OPTIONS=  sdl
6
7 .include "../../mk/bsd.options.mk"
8
9 .if !empty(PKG_OPTIONS:Msdl)
10 .  if ${OPSYS} == "Solaris"
11 BUILD_TARGET=   solaris-sdl
12 .  else
13 BUILD_TARGET=   sdl
14 .  endif
15 .  include "../../audio/SDL_mixer/buildlink3.mk"
16 .  include "../../graphics/SDL_image/buildlink3.mk"
17 .  include "../../multimedia/smpeg/buildlink3.mk"
18 .  include "../../net/SDL_net/buildlink3.mk"
19 .endif
20
21 .if !empty(PKG_OPTIONS:Mx11)
22 .  if ${OPSYS} == "Solaris"
23 BUILD_TARGET=   solaris
24 .  else
25 BUILD_TARGET=   x11
26 .  endif
27 .  include "../../mk/oss.buildlink3.mk"
28 .  include "../../x11/libXt/buildlink3.mk"
29 .endif