summaryrefslogtreecommitdiff
path: root/games/freeciv-server/Makefile
blob: 906f828424c7edb53f3035e8a762789f367ec078 (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
# $NetBSD: Makefile,v 1.9 2001/06/11 02:05:10 jlam Exp $

PKGNAME=		${DISTNAME:S/-/-server-/}

COMMENT=		Freeciv game server

DEPENDS+=		freeciv-share-${FC_VERS}:../../games/freeciv-share

CONFIGURE_ARGS+=	--enable-client=no
CONFIGURE_ARGS+=	--disable-make-data
CONFIGURE_ARGS+=	--with-readline

USE_GNU_READLINE=	# uses callback interface of GNU readline

.include "../../devel/readline/buildlink.mk"

CONFIGURE_ENV+=		LIBS="${LIBS}"
LIBS+=			-ltermcap

do-install:
	cd ${WRKSRC}/server; ${SETENV} ${MAKE_ENV} \
		${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}

.include "../../games/freeciv-share/Makefile.common"