2009-04-26 07:01:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2009/04/26 11:01:05 ajacoutot Exp $
|
2008-11-22 18:42:54 -05:00
|
|
|
|
|
|
|
COMMENT= collection of games for the GNOME desktop
|
|
|
|
|
|
|
|
GNOME_PROJECT= gnome-games
|
2009-03-22 16:56:52 -04:00
|
|
|
GNOME_VERSION= 2.24.3.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
|
|
|
|
|
|
|
|
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
|
|
|
|
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
2009-01-20 18:13:30 -05:00
|
|
|
Xrender art_lgpl_2 atk-1.0 bonobo-2 bonobo-activation \
|
2008-11-22 18:42:54 -05:00
|
|
|
bonoboui-2 bz2 c cairo croco-0.6 crypto dbus-1 dbus-glib-1 \
|
2009-01-20 18:13:30 -05:00
|
|
|
expat fontconfig freetype gailutil gconf-2 gcrypt \
|
2008-11-22 18:42:54 -05:00
|
|
|
gdk-x11-2.0 gdk_pixbuf-2.0 ggz gio-2.0 glib-2.0 glitz \
|
|
|
|
gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 \
|
|
|
|
gobject-2.0 gpg-error gsf-1 gthread-2.0 gtk-x11-2.0 \
|
|
|
|
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
|
2008-11-23 07:52:32 -05:00
|
|
|
png popt pthread ssl stdc++ util xml2 z gstreamer-0.10
|
2008-11-22 18:42:54 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
|
|
|
|
2009-04-06 06:05:20 -04:00
|
|
|
BUILD_DEPENDS= ::x11/gnome/py-gnome-desktop \
|
|
|
|
::lang/guile
|
2008-11-22 18:42:54 -05:00
|
|
|
LIB_DEPENDS= ggzcore,ggzmod::games/ggz/ggz-client-libs \
|
|
|
|
guile-ltdl,guile::lang/guile \
|
|
|
|
gnomeui-2::x11/gnome/libgnomeui \
|
|
|
|
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
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-games \
|
|
|
|
--disable-schemas-install \
|
|
|
|
--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 \
|
|
|
|
--with-scores-group="games"
|
|
|
|
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
|
|
|
|
|
|
|
# The regression tests require a running instance of X.
|
|
|
|
# You will also need to set the XAUTHORITY environment variable to point
|
|
|
|
# to the appropriate .Xauthority file.
|
|
|
|
REGRESS_IS_INTERACTIVE= Yes
|
|
|
|
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
|
|
|
|
|
|
|
|
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>
|