From bebd89314e57ff34ea47724c5605a0f32c425dcf Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Thu, 5 Oct 2000 06:57:56 +0000 Subject: Implement WANT_IMLIB and USE_IMLIB. --- games/freeciv-gtk2/Makefile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'games/freeciv-gtk2') 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 + +.if defined(HAVE_IMLIB) +USE_IMLIB= yes .else CONFIGURE_ARGS= --disable-gtktest .endif -.include +.include -- cgit v1.2.3