summaryrefslogtreecommitdiff
path: root/games/freeciv-gtk2
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-gtk2
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-gtk2')
-rw-r--r--games/freeciv-gtk2/Makefile14
-rw-r--r--games/freeciv-gtk2/distinfo2
2 files changed, 14 insertions, 2 deletions
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile
index 592dd52efd87..6de9a0ae2665 100644
--- a/games/freeciv-gtk2/Makefile
+++ b/games/freeciv-gtk2/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>
diff --git a/games/freeciv-gtk2/distinfo b/games/freeciv-gtk2/distinfo
index 3e2f995f59e4..cbcd87384453 100644
--- a/games/freeciv-gtk2/distinfo
+++ b/games/freeciv-gtk2/distinfo
@@ -1 +1 @@
-MD5 (freeciv-1.8.1.tar.bz2) = c44a75d64a6cd0bbeb0261accc64e38b
+MD5 (freeciv-1.8.3.tar.bz2) = 3ab4ad0175c8edebf86ac439e9d4cb5a