summaryrefslogtreecommitdiff
path: root/games/freeciv-gtk2
diff options
context:
space:
mode:
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