aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv-gtk2
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-02-29 15:26:01 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-02-29 15:26:01 +0000
commita135ca494d7534421e8de7e3ddec539e2ca00de3 (patch)
tree9c47b25489f16ef6c126199cca0e6da8d5745652 /games/freeciv-gtk2
parentf8648060a8df9ac4f231ccfc77c70d319433e856 (diff)
downloadports-a135ca494d7534421e8de7e3ddec539e2ca00de3.tar.gz
ports-a135ca494d7534421e8de7e3ddec539e2ca00de3.zip
Notes
Diffstat (limited to 'games/freeciv-gtk2')
-rw-r--r--games/freeciv-gtk2/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile
index f5ef767c5257..191ed392594f 100644
--- a/games/freeciv-gtk2/Makefile
+++ b/games/freeciv-gtk2/Makefile
@@ -7,16 +7,15 @@
#
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
-# 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.5:${PORTSDIR}/graphics/imlib
@@ -24,7 +23,7 @@ LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
USE_BZIP2= yes
GNU_CONFIGURE= yes
-.if defined(USE_GTK)
+.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.else