summaryrefslogtreecommitdiffstats
path: root/games/gnome-games3/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-07-24 03:35:48 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-07-24 03:35:48 +0800
commitadb0dfe0fd867ce0ae1de8269c3590b01c83a994 (patch)
treeb673465d64b0eeec6fa7b8f39e9deca23f4d31fd /games/gnome-games3/Makefile
parent8f92caf3314bb77e57659b85aecabffb6ff3f7cf (diff)
downloadmarcuscom-ports-adb0dfe0fd867ce0ae1de8269c3590b01c83a994.tar
marcuscom-ports-adb0dfe0fd867ce0ae1de8269c3590b01c83a994.tar.gz
marcuscom-ports-adb0dfe0fd867ce0ae1de8269c3590b01c83a994.tar.bz2
marcuscom-ports-adb0dfe0fd867ce0ae1de8269c3590b01c83a994.tar.lz
marcuscom-ports-adb0dfe0fd867ce0ae1de8269c3590b01c83a994.tar.xz
marcuscom-ports-adb0dfe0fd867ce0ae1de8269c3590b01c83a994.tar.zst
marcuscom-ports-adb0dfe0fd867ce0ae1de8269c3590b01c83a994.zip
Reset gnome-games back to 2.30
UPdate to gnome-games3 to 2.31.5. It needs unreleased versions of both librsvg2 and clutter-gtk. So stick with the gtk2 version for now. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14358 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnome-games3/Makefile')
-rw-r--r--games/gnome-games3/Makefile76
1 files changed, 76 insertions, 0 deletions
diff --git a/games/gnome-games3/Makefile b/games/gnome-games3/Makefile
new file mode 100644
index 000000000..8b20dbb09
--- /dev/null
+++ b/games/gnome-games3/Makefile
@@ -0,0 +1,76 @@
+# New ports collection makefile for: gnomegames2
+# Date created: 08 May 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/games/gnome-games/Makefile,v 1.223 2010/06/29 21:13:59 kwm Exp $
+#
+
+PORTNAME= gnome-games
+PORTVERSION= 2.31.5
+CATEGORIES= games gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= The game applications package for the GNOME 2 Desktop Environment
+
+BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
+LIB_DEPENDS= guile.20:${PORTSDIR}/lang/guile \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ clutter-gtk-0.10.0:${PORTSDIR}/graphics/clutter-gtk \
+ clutter-glx-1.0.0:${PORTSDIR}/graphics/clutter
+RUN_DEPENDS= seed:${PORTSDIR}/devel/seed
+
+USE_BZIP2= yes
+USE_PYTHON= yes
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+GLIB_SCHEMAS= org.gnome.Games.WindowState.gschema.xml
+USE_XORG= ice
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gtk20 gconf2 pygtk2 \
+ librsvg2 desktopfileutils gnomedocutils
+USE_GSTREAMER= vorbis ogg
+GNU_CONFIGURE= yes
+# Not using gtk30 yet. It needs librsvg2 2.26.4 and clutter-gtk-0.90.
+#CONFIGURE_ARGS= --with-gtk=3.0
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= aisleriot.schemas glchess.schemas glines.schemas \
+ gnect.schemas gnibbles.schemas gnobots2.schemas \
+ gnome-sudoku.schemas gnomine.schemas gnotravex.schemas \
+ gnotski.schemas gtali.schemas iagno.schemas lightsoff.schemas \
+ mahjongg.schemas quadrapassel.schemas swell-foop.schemas
+
+CONFLICTS= sol-1.0.* glchess-[0-9]* gnomesudoku-[0-9]*
+
+MAN6= glchess.6 glines.6 gnect.6 gnibbles.6 gnobots2.6 \
+ gnome-sudoku.6 gnomine.6 gnotravex.6 gnotski.6 \
+ gtali.6 iagno.6 mahjongg.6 quadrapassel.6 sol.6
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libavahi-client.a) || defined(WITH_MDNS)
+LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app
+.endif
+
+post-patch:
+# workaround for configure bug, should be fixed in 2.31.3.
+# @${REINPLACE_CMD} -e 's|as_fn_error "couldn|as_fn_warning "couldn|g' \
+# ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
+ ${WRKSRC}/gnome-sudoku/src/lib/defaults.py.in \
+ ${WRKSRC}/glchess/src/lib/defaults.py.in
+
+pre-install:
+ @cd ${WRKSRC}/libgames-support && gmake org.gnome.Games.WindowState.gschema.xml
+ @${INSTALL_DATA} ${WRKSRC}/libgames-support/org.gnome.Games.WindowState.gschema.xml \
+ ${PREFIX}/share/glib-2.0/schemas/
+
+post-install:
+ @-update-desktop-database
+
+.include <bsd.port.post.mk>