summaryrefslogtreecommitdiff
path: root/games/freeciv
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
parentImplment WANT_GTK. (diff)
Implement WANT_IMLIB and USE_IMLIB.
Notes
Notes: svn path=/head/; revision=33427
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index a67113f2ae3d..175f2273b078 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/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>