pkgsrc/games/freeciv-client/Makefile
spz d9337002cf Update to Freeciv 2.5. The qt client would be qt5; it is not enabled
in pkgsrc yet.

Upstream ChangeLog is at http://freeciv.wikia.com/wiki/NEWS-2.5.0,
excerpt:
 What's changed since 2.4

 The main changes in Freeciv 2.5 are the inclusion of the 'civ2civ3'
 ruleset, a new Qt client, and much more flexibility for those
 creating their own rulesets. The AI has also had some improvements.

 As is usual for major releases, 2.5 clients cannot interoperate with
 pre-2.5 servers, and vice versa. Pre-2.5 savegames can however be
 loaded into 2.5, and in most cases, the supplied rulesets have not
 changed so much as to make it difficult to complete a game started
 with 2.4.x's rules.
2015-04-26 19:19:42 +00:00

40 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.68 2015/04/26 19:19:42 spz Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= Freeciv client
DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share
CONFLICTS= freeciv-client-gtk<=1.11.4
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --disable-server
.include "../../games/freeciv-share/suppress_installation.mk"
SUBST_CLASSES+= themesonly
SUBST_STAGE.themesonly= pre-configure
SUBST_FILES.themesonly= data/Makefile.in
SUBST_SED.themesonly+= -e 's|SUBDIRS = icons.*|SUBDIRS = themes|'
SUBST_SED.themesonly+= -e 's|^ isotrident trident|DONT_SUBDIRS =|'
SUBST_SED.themesonly+= -e 's|install-data-am: install-data-local|install-data-am: \# install-data-local|'
SUBST_MESSAGE.themesonly= Suppressing installation of non-gui-relevant data
SUBST_CLASSES+= themesonly2
SUBST_STAGE.themesonly2= post-configure
SUBST_FILES.themesonly2= data/Makefile
SUBST_SED.themesonly2+= -e 's|SUBDIRS = icons.*|SUBDIRS = themes|'
SUBST_SED.themesonly2+= -e 's|^ isotrident trident|DONT_SUBDIRS =|'
SUBST_MESSAGE.themesonly2= Suppressing installation of non-gui-relevant data
.include "../../games/freeciv-share/Makefile.common"
.include "options.mk"
.include "../../audio/esound/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"