aboutsummaryrefslogtreecommitdiffstats
path: root/games/freeciv
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-02-29 23:26:01 +0800
committersheldonh <sheldonh@FreeBSD.org>2000-02-29 23:26:01 +0800
commit69b6f33b36fc549385b3b8753d2f5f6260f3b8cf (patch)
tree3b70f180946b736ccc7eedb461a3a2a414ce1e98 /games/freeciv
parent36e8b45e577fb574043da565e6c0ebd9594b2c4e (diff)
downloadfreebsd-ports-gnome-69b6f33b36fc549385b3b8753d2f5f6260f3b8cf.tar.gz
freebsd-ports-gnome-69b6f33b36fc549385b3b8753d2f5f6260f3b8cf.tar.zst
freebsd-ports-gnome-69b6f33b36fc549385b3b8753d2f5f6260f3b8cf.zip
Add a freeciv-gtk wrapper port so that packages are built for both
the standard Athena Widgets and the GNOME toolkit.
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index f5ef767c5257..191ed392594f 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/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