9f754e66d9
javascript engine which we don't have.
70 lines
2.0 KiB
Makefile
Executable File
70 lines
2.0 KiB
Makefile
Executable File
# $OpenBSD: Makefile,v 1.32 2010/05/17 16:35:42 ajacoutot Exp $
|
|
|
|
COMMENT= collection of games for the GNOME desktop
|
|
|
|
GNOME_PROJECT= gnome-games
|
|
GNOME_VERSION= 2.30.1
|
|
PKGNAME= ${DISTNAME}p0
|
|
|
|
CATEGORIES= games
|
|
|
|
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 += 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 canberra canberra-gtk clutter-glx-1.0
|
|
WANTLIB += croco-0.6 dbus-1 dbus-glib-1 drm expat fontconfig freetype
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 glitz gmodule-2.0
|
|
WANTLIB += gmp gobject-2.0 gsf-1 gthread-2.0 gtk-x11-2.0 json-glib-1.0
|
|
WANTLIB += ltdl m ogg pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
|
|
WANTLIB += pixman-1 png pthread pthread-stubs stdc++ vorbis vorbisfile
|
|
WANTLIB += xcb xcb-render xcb-render-util xml2 z
|
|
|
|
MODULES= devel/gconf2 \
|
|
devel/gettext \
|
|
lang/python \
|
|
x11/gnome
|
|
|
|
BUILD_DEPENDS= ::x11/gnome/py-gnome-desktop
|
|
LIB_DEPENDS= clutter-gtk-0.10::graphics/clutter/clutter-gtk \
|
|
guile::lang/guile \
|
|
rsvg-2.>=18.0::x11/gnome/librsvg
|
|
RUN_DEPENDS= ::x11/gnome/py-gnome-desktop \
|
|
::multimedia/gstreamer-0.10/plugins-good
|
|
REGRESS_DEPENDS= ::devel/check
|
|
|
|
USE_X11= Yes
|
|
DESKTOP_FILES= Yes
|
|
MODGNOME_HELP_FILES= Yes
|
|
MODGCONF2_SCHEMAS_DIR= gnome-games
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
--localstatedir="/var" \
|
|
--with-scores-group="games" \
|
|
--enable-introspection="no"
|
|
|
|
# XXX
|
|
# gnome-sudoku needs python-2.6
|
|
# lightsoff and swell-foop needs seed
|
|
CONFIGURE_ARGS+= --enable-omitgames=gnome-sudoku,lightsoff,swell-foop
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
REGRESS_IS_INTERACTIVE= x11
|
|
|
|
FAKE_FLAGS= scoredir=${PREFIX}/share/gnome-games/scores/
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|