aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv-gtk2
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:57:56 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:57:56 +0000
commitbebd89314e57ff34ea47724c5605a0f32c425dcf (patch)
treed991da3f3e4ccc0cc8f9eab35d1891ca59b0fd9a /games/freeciv-gtk2
parent3707e5b7408ecadb0bda141dd82ec9bbca5d0267 (diff)
downloadports-bebd89314e57ff34ea47724c5605a0f32c425dcf.tar.gz
ports-bebd89314e57ff34ea47724c5605a0f32c425dcf.zip
Notes
Diffstat (limited to 'games/freeciv-gtk2')
-rw-r--r--games/freeciv-gtk2/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile
index a67113f2ae3d..175f2273b078 100644
--- a/games/freeciv-gtk2/Makefile
+++ b/games/freeciv-gtk2/Makefile
@@ -11,24 +11,20 @@ CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/ \
ftp://ftp.netc.pt/pub/freeciv/stable/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable/
-.if defined(WITH_GTK)
-PKGNAMESUFFIX= -gtk
-.endif
MAINTAINER= sheldonh@freebsd.org
-.if defined(WITH_GTK)
-LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib
-.endif
-
USE_XPM= yes
USE_BZIP2= yes
+WANT_IMLIB= yes
GNU_CONFIGURE= yes
-.if defined(WITH_GTK)
-GLIB_CONFIG?= ${LOCALBASE}/bin/gtk12-config
-CONFIGURE_ENV= GTK_CONFIG="${GLIB_CONFIG}"
+
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_IMLIB)
+USE_IMLIB= yes
.else
CONFIGURE_ARGS= --disable-gtktest
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>