blob: 2aa8ec42750216ec8507f46e1d69b4f1b461ccaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: options.mk,v 1.2 2005/10/20 13:37:41 dillo Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freeciv-client
PKG_OPTIONS_REQUIRED_GROUPS= backend
PKG_OPTIONS_GROUP.backend= gtk gtk2 xaw xaw3d sdl x11
PKG_SUGGESTED_OPTIONS= gtk2
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ARGS+= --enable-client=gtk
.include "../../graphics/imlib/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mgtk2)
CONFIGURE_ARGS+= --enable-client=gtk2
.include "../../x11/gtk2/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mxaw)
CONFIGURE_ARGS+= --enable-client=xaw
.include "../../mk/xaw.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mxaw3d)
CONFIGURE_ARGS+= --enable-client=xaw3d
.include "../../x11/Xaw3d/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+= --enable-ftwl=sdl
.include "../../audio/SDL_mixer/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --enable-ftwl=x11
.include "../../mk/x11.buildlink3.mk"
.endif
|