aboutsummaryrefslogtreecommitdiffstats
path: root/games/freeciv-gtk2/Makefile
blob: ea6553997a41c58590ecdc9d4b6ad61371a1b9ce (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
# Version required: 1.8.1
# Date created:     Jun 20 1997
# Whom:         ada@bsd.org
#
# $FreeBSD$
#

DISTNAME=   freeciv-1.8.3
CATEGORIES= games
MASTER_SITES=   ftp://ftp.freeciv.org/pub/freeciv/beta_version/ \
        http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/

MAINTAINER= ada@bsd.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.4:${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>