2009-10-20 05:18:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2009/10/20 09:18:49 ajacoutot Exp $
|
2008-11-22 18:42:54 -05:00
|
|
|
|
|
|
|
COMMENT= collection of games for the GNOME desktop
|
|
|
|
|
|
|
|
GNOME_PROJECT= gnome-games
|
2009-10-20 05:18:49 -04:00
|
|
|
GNOME_VERSION= 2.28.1
|
2008-11-22 18:42:54 -05:00
|
|
|
|
2009-02-16 07:24:29 -05:00
|
|
|
CATEGORIES= games
|
|
|
|
|
2008-11-22 18:42:54 -05:00
|
|
|
HOMEPAGE= http://live.gnome.org/GnomeGames/
|
|
|
|
|
|
|
|
# GPLv2/GDFLv1.1
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-10-12 20:00:41 -04:00
|
|
|
WANTLIB += GL ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage
|
|
|
|
WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm
|
|
|
|
WANTLIB += atk-1.0 bz2 c cairo clutter-glx-1.0 croco-0.6 crypto
|
|
|
|
WANTLIB += dbus-1 dbus-glib-1 drm expat fontconfig freetype gcrypt
|
|
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 ggz gio-2.0 glib-2.0 glitz
|
|
|
|
WANTLIB += gmodule-2.0 gmp gobject-2.0 gpg-error gsf-1 gthread-2.0
|
|
|
|
WANTLIB += gtk-x11-2.0 json-glib-1.0 ltdl m pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
|
|
|
|
WANTLIB += ssl stdc++ xcb xml2 z
|
2008-11-22 18:42:54 -05:00
|
|
|
|
2009-10-12 20:00:41 -04:00
|
|
|
MODULES= devel/gconf2 \
|
|
|
|
devel/gettext \
|
2008-11-22 18:42:54 -05:00
|
|
|
lang/python \
|
2009-10-12 20:00:41 -04:00
|
|
|
x11/gnome
|
2008-11-22 18:42:54 -05:00
|
|
|
|
2009-10-12 20:00:41 -04:00
|
|
|
BUILD_DEPENDS= ::x11/gnome/py-gnome-desktop
|
2008-11-22 18:42:54 -05:00
|
|
|
LIB_DEPENDS= ggzcore,ggzmod::games/ggz/ggz-client-libs \
|
2009-10-12 20:00:41 -04:00
|
|
|
clutter-gtk-0.10::graphics/clutter/clutter-gtk \
|
2009-10-11 14:57:51 -04:00
|
|
|
guile::lang/guile \
|
2008-11-22 18:42:54 -05:00
|
|
|
rsvg-2.>=18.0::x11/gnome/librsvg
|
2008-11-23 07:52:32 -05:00
|
|
|
RUN_DEPENDS= ::x11/gnome/py-gnome-desktop \
|
2009-03-14 07:36:24 -04:00
|
|
|
::multimedia/gstreamer-0.10/plugins-good
|
2008-11-22 18:42:54 -05:00
|
|
|
REGRESS_DEPENDS= ::devel/check
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
DESKTOP_FILES= Yes
|
|
|
|
MODGNOME_HELP_FILES= Yes
|
2009-06-07 05:27:37 -04:00
|
|
|
MODGCONF2_SCHEMAS_DIR= gnome-games
|
2008-11-22 18:42:54 -05:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-scrollkeeper \
|
|
|
|
--disable-update-mimedb \
|
2008-11-23 07:52:32 -05:00
|
|
|
--disable-sdl-mixer \
|
2008-11-22 18:42:54 -05:00
|
|
|
--localstatedir="/var" \
|
|
|
|
--with-tls="OpenSSL" \
|
2008-11-23 07:52:32 -05:00
|
|
|
--enable-sound=yes \
|
|
|
|
--with-sound=gstreamer \
|
2008-11-22 18:42:54 -05:00
|
|
|
--enable-scalable \
|
2008-11-23 07:52:32 -05:00
|
|
|
--without-ggz-server \
|
2008-11-22 18:42:54 -05:00
|
|
|
--with-gcrypt \
|
2009-10-12 20:00:41 -04:00
|
|
|
--with-scores-group="games" \
|
|
|
|
--enable-introspection="no"
|
2008-11-22 18:42:54 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2009-04-26 07:01:04 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2008-11-22 18:42:54 -05:00
|
|
|
|
2009-09-06 06:46:25 -04:00
|
|
|
REGRESS_IS_INTERACTIVE= x11
|
2008-11-22 18:42:54 -05:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/configure ${WRKSRC}/glchess/src/glchess.in.in \
|
|
|
|
${WRKSRC}/glchess/src/lib/scene/opengl/png.py \
|
|
|
|
${WRKSRC}/gnome-sudoku/src/gnome-sudoku.in.in
|
|
|
|
|
2008-11-23 06:08:07 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-games/
|
|
|
|
mv ${WRKINST}/${SYSCONFDIR}/ggz.modules \
|
|
|
|
${PREFIX}/share/examples/gnome-games
|
|
|
|
|
2008-11-22 18:42:54 -05:00
|
|
|
.include <bsd.port.mk>
|