update Wed May 19 06:37:00 PDT 2010
[pkgsrc.git] / graphics / clutter08-gtk / Makefile
1 # $NetBSD: Makefile,v 1.1.1.1 2009/10/26 08:32:30 obache Exp $
2 #
3
4 DISTNAME=       clutter-gtk-0.8.3
5 PKGNAME=        ${DISTNAME:S/clutter/clutter08/}
6 CATEGORIES=     graphics
7 MASTER_SITES=   http://www.clutter-project.org/sources/clutter-gtk/0.8/
8
9 MAINTAINER=     obache@NetBSD.org
10 HOMEPAGE=       http://www.clutter-project.org/
11 COMMENT=        GTK+ Integration library for Clutter
12 LICENSE=        gnu-lgpl-v2.1
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 GNU_CONFIGURE=  yes
17 USE_LIBTOOL=    yes
18 USE_TOOLS+=     pkg-config
19
20 # Workaround for Upstream Bug#562310.
21 # for more detail, see also PR#41475.
22 TOOLS_NOOP+=            gtkdoc-rebase
23
24 MAKE_ENV+=      DOC_MODULE_VERSION=0.8
25
26 PKGCONFIG_OVERRIDE+=    clutter-gtk.pc.in
27
28 .include "../../x11/gtk2/buildlink3.mk"
29 BUILDLINK_API_DEPENDS.clutter08+=       clutter08>=0.8.7
30 .include "../../graphics/clutter08/buildlink3.mk"
31 .if !empty(PKG_BUILD_OPTIONS.clutter08:Mx11)
32 CONFIGURE_ARGS+=        --with-flavour=x11
33 .else
34 PKG_FAIL_REASON+=       Require Clutter with X11 backend
35 .endif
36 .include "../../mk/bsd.pkg.mk"