summaryrefslogtreecommitdiff
path: root/games/freeciv-gtk2/Makefile
blob: 191ed392594f1285fec17081134e29dbcd03658f (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
# New ports collection makefile for:	freeciv
# Version required:	1.10.0
# Date created:		Jun 20 1997
# Whom:			ada@bsd.org
#
# $FreeBSD$
#

DISTNAME=	freeciv-1.10.0
.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
PKGNAME=	freeciv-gtk-1.10.0
.endif
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
		ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/

MAINTAINER=	sheldonh@freebsd.org

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) && (${USE_GTK} == YES || ${USE_GTK} == yes)
GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}"
.else
CONFIGURE_ARGS=	--disable-gtktest
.endif

.include <bsd.port.mk>