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