# $NetBSD: Makefile.common,v 1.33 2008/06/21 23:31:46 adam Exp $ DISTNAME= freeciv-${FC_VERS} FC_VERS= 2.1.5 CATEGORIES= games MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/ \ http://www.freeciv.org/ftp/stable/ \ ftp://ftp.freeciv.org/pub/freeciv/beta/ \ http://www.freeciv.org/ftp/beta/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.freeciv.org/ USE_PKGLOCALEDIR= yes USE_TOOLS+= gmake msgfmt pkg-config GNU_CONFIGURE= yes DISTINFO_FILE= ${.CURDIR}/../../games/freeciv-share/distinfo PATCHDIR= ${.CURDIR}/../../games/freeciv-share/patches PYTHON_PATCH_SCRIPTS= ${WRKSRC}/common/generate_packets.py SUBST_CLASSES+= data SUBST_STAGE.data= post-patch SUBST_FILES.data= data/Makefile.in SUBST_SED.data+= -e "s|@CLIENT_FALSE@|@MAKE_DATA_FALSE@|g" SUBST_SED.data+= -e "s|@CLIENT_TRUE@|@MAKE_DATA_TRUE@|g" SUBST_SED.data+= -e "s|@SERVER_FALSE@|@MAKE_DATA_FALSE@|g" SUBST_SED.data+= -e "s|@SERVER_TRUE@|@MAKE_DATA_TRUE@|g" SUBST_MESSAGE.data= Fixing installation of data files. .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../lang/python/application.mk"