aboutsummaryrefslogtreecommitdiffstats
path: root/games/freeciv/Makefile
blob: 4c628676885d2f9163d512423b3d1e24c081f313 (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
35
36
# New ports collection makefile for:    freeciv
# Date created:     Jun 20 1997
# Whom:         ada@bsd.org
#
# $FreeBSD$
#

PORTNAME=   freeciv
PORTVERSION=    1.13.0
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/

MAINTAINER= adam-ports@blacktabby.org

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext

USE_XPM=    yes
USE_BZIP2=  yes
USE_GNOMENG=    yes
WANT_GNOME= yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgtk12}!=""
USE_GNOMENG+=   imlib
PKGNAMESUFFIX=  -imlib
.else
LIB_DEPENDS+=   Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
.endif

.include <bsd.port.post.mk>