# New ports collection makefile for:	freeciv
# Version required:	1.8.3
# Date created:		Jun 20 1997
# Whom:			ada@bsd.org
#
# $FreeBSD: ports/games/freeciv/Makefile,v 1.29 1999/10/21 11:43:54 sheldonh Exp $
#

DISTNAME=	freeciv-1.9.0
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
		ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/ \
		http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/

MAINTAINER=	sheldonh@freebsd.org

# If USE_GTK is defined, freeciv will be built with a prettier look and
# feel:
#USE_GTK=	yes

LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
.if defined(USE_GTK)
LIB_DEPENDS+=	Imlib.5:${PORTSDIR}/graphics/imlib
.endif

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
.if defined(USE_GTK)
GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}"
.else
CONFIGURE_ARGS=	--disable-gtktest
.endif

.include <bsd.port.mk>
