update Mon Jun 21 06:37:00 PDT 2010
[pkgsrc.git] / games / freeciv-client / Makefile
1 # $NetBSD: Makefile,v 1.43 2010/06/21 07:53:14 spz Exp $
2
3 PKGNAME=        ${DISTNAME:S/-/-client-/}
4 COMMENT=        Freeciv client
5
6 PKG_DESTDIR_SUPPORT=    user-destdir
7
8 DEPENDS+=       freeciv-share>=${FC_VERS}:../../games/freeciv-share
9
10 CONFLICTS=      freeciv-client-gtk<=1.11.4
11
12 USE_TOOLS+=             pkg-config
13 CONFIGURE_ARGS+=        --disable-make-data
14 CONFIGURE_ARGS+=        --disable-server
15
16 SUBST_CLASSES+=                 installfix
17 SUBST_STAGE.installfix=         post-patch
18 SUBST_FILES.installfix=         common/Makefile.in
19 SUBST_SED.installfix+=          -e 's|^install-exec-am: install-libLTLIBRARIES|install-exec-am: \# install-libLTLIBRARIES|'
20 SUBST_MESSAGE.installfix=       Suppressing installation of libs already in freeciv-share.
21
22 .include "../../games/freeciv-share/Makefile.common"
23
24 .include "options.mk"
25
26 .include "../../audio/esound/buildlink3.mk"
27 .include "../../graphics/freetype2/buildlink3.mk"
28 .include "../../graphics/png/buildlink3.mk"
29 .include "../../x11/libXpm/buildlink3.mk"
30 .include "../../mk/bsd.pkg.mk"