[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / freeciv-client

File: [cvs.NetBSD.org] / pkgsrc / games / freeciv-client / options.mk (download)

Revision 1.8, Wed Oct 14 20:17:25 2015 UTC (4 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-
Changes since 1.7: +2 -2 lines

Switch from x11/Xaw3d to newer x11/libXaw3d.

Adapt some packages so they build with that.
Bump their PKGREVISIONs.

# $NetBSD: options.mk,v 1.8 2015/10/14 20:17:25 wiz Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.freeciv-client
PKG_OPTIONS_REQUIRED_GROUPS=	backend
#PKG_OPTIONS_GROUP.backend=	gtk2 gtk3 qt5 sdl xaw xaw3d
PKG_OPTIONS_GROUP.backend=	gtk2 gtk3 sdl xaw xaw3d
PKG_SUGGESTED_OPTIONS=		gtk2

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mgtk2)
CONFIGURE_ARGS+=	--enable-client=gtk2
CONFIGURE_ARGS+=	--enable-fcmp=gtk2
.include "../../x11/gtk2/buildlink3.mk"
PLIST_SRC=		${PKGDIR}/PLIST.gtk2
.endif

.if !empty(PKG_OPTIONS:Mgtk3)
CONFIGURE_ARGS+=	--enable-client=gtk3
CONFIGURE_ARGS+=	--enable-fcmp=gtk3
.include "../../x11/gtk3/buildlink3.mk"
PLIST_SRC=		${PKGDIR}/PLIST.gtk3
.endif

.if !empty(PKG_OPTIONS:Mqt5)
CONFIGURE_ARGS+=	--enable-client=qt
CONFIGURE_ARGS+=	--enable-fcmp=qt
.include "../../x11/qt5-qtbase/buildlink3.mk"
PLIST_SRC=		${PKGDIR}/PLIST.qt
.endif

.if !empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+=	--enable-client=sdl
CONFIGURE_ARGS+=	--enable-fcmp=cli
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../devel/SDL_gfx/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
PLIST_SRC=		${PKGDIR}/PLIST.sdl
.endif

.if !empty(PKG_OPTIONS:Mxaw)
CONFIGURE_ARGS+=	--enable-client=xaw
CONFIGURE_ARGS+=	--enable-fcmp=cli
CONFIGURE_ARGS+=	--with-xaw
.include "../../mk/xaw.buildlink3.mk"
PLIST_SRC=		${PKGDIR}/PLIST.xaw
.endif

.if !empty(PKG_OPTIONS:Mxaw3d)
CONFIGURE_ARGS+=	--enable-client=xaw
CONFIGURE_ARGS+=	--enable-fcmp=cli
CONFIGURE_ARGS+=	--with-xaw3d
.include "../../x11/libXaw3d/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
PLIST_SRC=		${PKGDIR}/PLIST.xaw
.endif