diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:57:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:57:56 +0000 |
commit | bebd89314e57ff34ea47724c5605a0f32c425dcf (patch) | |
tree | d991da3f3e4ccc0cc8f9eab35d1891ca59b0fd9a /games/freeciv-gtk2 | |
parent | Implment WANT_GTK. (diff) |
Implement WANT_IMLIB and USE_IMLIB.
Notes
Notes:
svn path=/head/; revision=33427
Diffstat (limited to 'games/freeciv-gtk2')
-rw-r--r-- | games/freeciv-gtk2/Makefile | 18 |
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> |