30 lines
890 B
Makefile
30 lines
890 B
Makefile
# $NetBSD: Makefile,v 1.42 2013/08/30 22:34:18 joerg Exp $
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-server-/}
|
|
PKGREVISION= 1
|
|
COMMENT= Freeciv game server
|
|
|
|
DEPENDS+= freeciv-share>=${FC_VERS}:../../games/freeciv-share
|
|
|
|
USE_TOOLS+= automake autoconf
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoreconf -i
|
|
|
|
CONFIGURE_ARGS+= --disable-make-data
|
|
CONFIGURE_ARGS+= --enable-client=no
|
|
CONFIGURE_ARGS+= --disable-gtktest
|
|
CONFIGURE_ARGS+= --with-readline
|
|
|
|
# Uses rl_filename_completion_function() which was introduced in readline-4.2
|
|
BUILDLINK_API_DEPENDS.readline+= readline>=4.2
|
|
|
|
.include "../../games/freeciv-share/suppress_installation.mk"
|
|
|
|
.include "../../games/freeciv-share/Makefile.common"
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|