summaryrefslogtreecommitdiff
path: root/games/freeciv-server/Makefile
blob: daa2005e6bd2ed1ea87b6153d0583f4d05928fdf (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
# $NetBSD: Makefile,v 1.17 2004/10/03 00:14:44 tv Exp $

PKGNAME=	${DISTNAME:S/-/-server-/}
PKGREVISION=	1
COMMENT=	Freeciv game server

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

USE_GNU_READLINE=	# uses callback interface of GNU readline
LIBS+=			-ltermcap

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

# Uses rl_filename_completion_function() which was introduced in readline-4.2
BUILDLINK_DEPENDS.readline=	readline>=4.2

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

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

.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"