openbsd-ports/x11/gnome/games/Makefile

76 lines
2.2 KiB
Makefile
Raw Normal View History

2009-10-20 05:18:49 -04:00
# $OpenBSD: Makefile,v 1.25 2009/10/20 09:18:49 ajacoutot Exp $
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
2009-02-16 07:24:29 -05:00
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
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
2009-10-12 20:00:41 -04:00
MODULES= devel/gconf2 \
devel/gettext \
lang/python \
2009-10-12 20:00:41 -04:00
x11/gnome
2009-10-12 20:00:41 -04:00
BUILD_DEPENDS= ::x11/gnome/py-gnome-desktop
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 \
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} \
--disable-scrollkeeper \
--disable-update-mimedb \
--disable-sdl-mixer \
--localstatedir="/var" \
--with-tls="OpenSSL" \
--enable-sound=yes \
--with-sound=gstreamer \
--enable-scalable \
--without-ggz-server \
--with-gcrypt \
2009-10-12 20:00:41 -04:00
--with-scores-group="games" \
--enable-introspection="no"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
REGRESS_IS_INTERACTIVE= x11
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
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnome-games/
mv ${WRKINST}/${SYSCONFDIR}/ggz.modules \
${PREFIX}/share/examples/gnome-games
.include <bsd.port.mk>