pkgsrc/games/freeciv-client/Makefile

30 lines
747 B
Makefile

# $NetBSD: Makefile,v 1.4 2000/08/23 23:14:27 tron Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
DEPENDS+= freeciv-share-${FC_VERS}:../../games/freeciv-share
DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
DEPENDS+= xpm-*:../../graphics/xpm
CONFLICTS= freeciv-client-gtk-*
USE_X11= YES
USE_XAW= YES
USE_XPM= YES
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --disable-server
CONFIGURE_ARGS+= --disable-make-data
CONFIGURE_ARGS+= --enable-client=xaw
CPPFLAGS+= -I${LOCALBASE}/include
.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d")
CONFIGURE_ARGS+= --with-xaw3d
.endif
do-install:
cd ${WRKSRC}/client; ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
.include "../../games/freeciv-share/Makefile.common"