diff options
Diffstat (limited to 'games/freeciv/Makefile')
-rw-r--r-- | games/freeciv/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile index f5ef767c5257..191ed392594f 100644 --- a/games/freeciv/Makefile +++ b/games/freeciv/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 |