aboutsummaryrefslogtreecommitdiffstats
path: root/games/freeciv-gtk2
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-09-02 08:59:13 +0800
committerlioux <lioux@FreeBSD.org>2002-09-02 08:59:13 +0800
commitbef27aa3e1661fada0b8d1acc29b6a95a8a4f29e (patch)
tree29df92e10e505c51ba9b3d5548dbf97b9b42e07a /games/freeciv-gtk2
parent3865f0c4aafc7e8655e79e9e6cb0bd6c50c9670b (diff)
downloadfreebsd-ports-gnome-bef27aa3e1661fada0b8d1acc29b6a95a8a4f29e.tar.gz
freebsd-ports-gnome-bef27aa3e1661fada0b8d1acc29b6a95a8a4f29e.tar.zst
freebsd-ports-gnome-bef27aa3e1661fada0b8d1acc29b6a95a8a4f29e.zip
Deploy USE_GNOMENG infrastructure
PR: 42301 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'games/freeciv-gtk2')
-rw-r--r--games/freeciv-gtk2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile
index 281f79a3e117..4c628676885d 100644
--- a/games/freeciv-gtk2/Makefile
+++ b/games/freeciv-gtk2/Makefile
@@ -18,15 +18,17 @@ LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
USE_XPM= yes
USE_BZIP2= yes
-WANT_GTK= yes
+USE_GNOMENG= yes
+WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
-.if defined(HAVE_GTK)
-USE_IMLIB= yes
+.if ${HAVE_GNOME:Mgtk12}!=""
+USE_GNOMENG+= imlib
+PKGNAMESUFFIX= -imlib
.else
LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
.endif