39 lines
953 B
Makefile
39 lines
953 B
Makefile
|
# $NetBSD: options.mk,v 1.1 2005/08/24 10:45:32 adam Exp $
|
||
|
|
||
|
PKG_OPTIONS_VAR= PKG_OPTIONS.freeciv-client
|
||
|
PKG_SUPPORTED_OPTIONS= 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
|