aboutsummaryrefslogtreecommitdiff
path: root/games/gnome-games/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-04-10 05:56:28 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-04-10 05:56:28 +0000
commitae52bc80895a23ddbe33b86e75a9cf331ae32ba9 (patch)
tree5538a7d3541f6d56e4bbab9c6329f5b9db64dafb /games/gnome-games/Makefile
parent7934df773e0cc2a9924de75dd7cad9cc3d79d4ee (diff)
downloadports-ae52bc80895a23ddbe33b86e75a9cf331ae32ba9.tar.gz
ports-ae52bc80895a23ddbe33b86e75a9cf331ae32ba9.zip
Notes
Diffstat (limited to 'games/gnome-games/Makefile')
-rw-r--r--games/gnome-games/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index e946144a495a..297f77ab8d81 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -3,12 +3,11 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/games/gnome-games/Makefile,v 1.187 2008/11/25 17:39:15 mezz Exp $
+# $MCom: ports/games/gnome-games/Makefile,v 1.192 2009/03/18 00:15:21 kwm Exp $
#
PORTNAME= gnome-games
-PORTVERSION= 2.24.3
-PORTREVISION= 1
+PORTVERSION= 2.26.0
CATEGORIES= games gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -44,12 +43,24 @@ CONFLICTS= sol-1.0.* glchess-[0-9]* gnomesudoku-[0-9]*
DSC_FILES= iagno/iagno-client.dsc gnect/data/gnect-client.dsc \
gnibbles/gnibbles-client.dsc
+OPTIONS= CLUTTER "Enable clutter compositing support" on
+
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libavahi-client.a) || defined(WITH_MDNS)
LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app
.endif
+.if !defined(WITHOUT_CLUTTER)
+LIB_DEPENDS+= clutter-gtk-0.8.0:${PORTSDIR}/graphics/clutter-gtk \
+ clutter-cairo-0.8.0:${PORTSDIR}/graphics/clutter-cairo
+CONFIGURE_ARGS+=--enable-clutter
+PLIST_SUB+= CLUTTER=""
+.else
+CONFIGURE_ARGS+=--disable-clutter
+PLIST_SUB+= CLUTTER="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/gnome-sudoku/src/lib/defaults.py.in \