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.
27 lines
818 B
Makefile
27 lines
818 B
Makefile
# $NetBSD: Makefile,v 1.8 2001/06/21 05:06:16 jlam Exp $
|
|
|
|
.include "../../games/freeciv-share/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-client-gtk-/}nb1
|
|
COMMENT= Freeciv client with GTK+ interface
|
|
|
|
BUILD_USES_MSGFMT= # defined
|
|
DEPENDS+= freeciv-share-${FC_VERS}:../../games/freeciv-share
|
|
|
|
USE_X11= # defined
|
|
USE_BUILDLINK_ONLY= # defined
|
|
USE_CONFIG_WRAPPER= # defined
|
|
|
|
CONFIGURE_ARGS+= --disable-server
|
|
CONFIGURE_ARGS+= --disable-make-data
|
|
CONFIGURE_ARGS+= --enable-client=gtk
|
|
CONFIGURE_ARGS+= --program-transform-name="s,civclient,civclient-gtk,"
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/client; ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
|
|
|
|
.include "../../devel/zlib/buildlink.mk"
|
|
.include "../../graphics/imlib/buildlink.mk"
|
|
.include "../../x11/gtk/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|