# $NetBSD: Makefile,v 1.20 2004/10/03 00:14:44 tv Exp $ PKGNAME= ${DISTNAME:S/-/-client-/} PKGREVISION= 1 COMMENT= Freeciv client with Xaw interface DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share DEPENDS+= freeciv-sounds>=2.0:../../games/freeciv-sounds CONFLICTS= freeciv-client-gtk<=1.11.4 USE_X11= yes CONFIGURE_ARGS+= --disable-server --disable-make-data CONFIGURE_ARGS+= --enable-client=xaw .include "../../mk/bsd.prefs.mk" .if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm") CONFIGURE_ARGS+= --with-xaw3d .endif .include "../freeciv-share/Makefile.common" do-install: cd ${WRKSRC}/client; ${SETENV} ${MAKE_ENV} \ ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET} .include "../../audio/esound/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/xpm/buildlink3.mk" .include "../../mk/xaw.buildlink3.mk" .include "../../mk/bsd.pkg.mk"