cb132b7d72
include it to include bsd.pkg.mk themselves. Convert to use buildlink.mk files and mark freeciv packages as USE_BUILDLINK_ONLY. Include zlib's buildlink.mk file in server and clients as -lz is used.
34 lines
860 B
Makefile
34 lines
860 B
Makefile
# $NetBSD: Makefile,v 1.9 2001/06/21 05:06:15 jlam Exp $
|
|
|
|
.include "../../games/freeciv-share/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-client-/}
|
|
COMMENT= Freeciv client with Xaw interface
|
|
|
|
DEPENDS+= freeciv-share-${FC_VERS}:../../games/freeciv-share
|
|
|
|
CONFLICTS= freeciv-client-gtk<=1.11.4
|
|
|
|
USE_X11= # defined
|
|
USE_XAW= # defined
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_BUILDLINK_ONLY= # defined
|
|
|
|
CONFIGURE_ARGS+= --disable-server
|
|
CONFIGURE_ARGS+= --disable-make-data
|
|
CONFIGURE_ARGS+= --enable-client=xaw
|
|
|
|
.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d")
|
|
.include "../../x11/Xaw3d/buildlink.mk"
|
|
CONFIGURE_ARGS+= --with-xaw3d
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/client; ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
|
|
|
|
.include "../../devel/zlib/buildlink.mk"
|
|
.include "../../graphics/xpm/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|