summaryrefslogtreecommitdiff
path: root/games/freeciv/Makefile
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-09-28 17:23:29 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-09-28 17:23:29 +0000
commit675fc8988bca23b9abf10107380a364748f5ba36 (patch)
tree35bb4fabbfc523792e92219c5fb74c1c6af7a256 /games/freeciv/Makefile
parentUpdate to version 1.5 (diff)
Update to FreeCiv v1.8.3, featuring paratroopers and airbases.
While I'm in here, bring in a knob for using the gtk-based UI instead of the default Xaw-based one. Reviewed by: cpiazza
Notes
Notes: svn path=/head/; revision=22051
Diffstat (limited to 'games/freeciv/Makefile')
-rw-r--r--games/freeciv/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index 592dd52efd87..6de9a0ae2665 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -6,17 +6,29 @@
# $FreeBSD$
#
-DISTNAME= freeciv-1.8.1
+DISTNAME= freeciv-1.8.3
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_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>