From a135ca494d7534421e8de7e3ddec539e2ca00de3 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Tue, 29 Feb 2000 15:26:01 +0000 Subject: Add a freeciv-gtk wrapper port so that packages are built for both the standard Athena Widgets and the GNOME toolkit. --- games/freeciv-gtk2/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'games/freeciv-gtk2') diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile index f5ef767c5257..191ed392594f 100644 --- a/games/freeciv-gtk2/Makefile +++ b/games/freeciv-gtk2/Makefile @@ -7,16 +7,15 @@ # DISTNAME= freeciv-1.10.0 +.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes) +PKGNAME= freeciv-gtk-1.10.0 +.endif CATEGORIES= games MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \ ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/ MAINTAINER= sheldonh@freebsd.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.5:${PORTSDIR}/graphics/imlib @@ -24,7 +23,7 @@ LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib USE_BZIP2= yes GNU_CONFIGURE= yes -.if defined(USE_GTK) +.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes) GTK_CONFIG?= ${X11BASE}/bin/gtk12-config CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" .else -- cgit v1.2.3