blob: 21b48be34567484b15872819f8a079d874264904 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile.common,v 1.23 2005/11/16 16:03:50 adam Exp $
DISTNAME= freeciv-${FC_VERS}
FC_VERS= 2.0.7
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= tech-pkg@NetBSD.org
HOMEPAGE= http://www.freeciv.org/
BUILD_USES_MSGFMT= yes
USE_PKGLOCALEDIR= yes
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 "../../lang/python/application.mk"
|