aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv-gtk2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/freeciv-gtk2/Makefile')
-rw-r--r--games/freeciv-gtk2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile
index d93cf115709d..bc8adb1b6004 100644
--- a/games/freeciv-gtk2/Makefile
+++ b/games/freeciv-gtk2/Makefile
@@ -10,20 +10,20 @@ PORTVERSION= 1.10.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/
-.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
+.if defined(WITH_GTK)
PKGNAMESUFFIX= -gtk
.endif
MAINTAINER= sheldonh@freebsd.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
-.if defined(USE_GTK)
+.if defined(WITH_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)
+.if defined(WITH_GTK)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.else