blob: 4ab6cd3735008b6fbcc44e384e03b1bd23572c2d (
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
|
# $NetBSD: Makefile,v 1.12 2001/08/15 19:50:31 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_BUILDLINK_ONLY= # defined
USE_GNU_READLINE= # uses callback interface of GNU readline
LIBS+= -ltermcap
# Uses rl_filename_completion_function() which was introduced to the readline
# API in version 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/buildlink.mk"
.include "../../devel/zlib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|