summaryrefslogtreecommitdiff
path: root/games/freeciv/Makefile
blob: 49acd9875c204e4af4d84f8dfbc37d85eb8010d5 (plain) (blame)
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
30
31
32
33
34
# New ports collection makefile for:	freeciv
# Date created:		Jun 20 1997
# Whom:			ada@bsd.org
#
# $FreeBSD$
#

PORTNAME=	freeciv
PORTVERSION=	1.11.4
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.freeciv.org/pub/freeciv/stable/ \
		ftp://ftp.netc.pt/pub/freeciv/stable/ \
		ftp://ftp.pvv.ntnu.no/pub/freeciv/stable/
.if defined(WITH_GTK)
PKGNAMESUFFIX=	-gtk
.endif

MAINTAINER=	sheldonh@freebsd.org

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

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

.include <bsd.port.mk>