1 # $NetBSD: Makefile,v 1.1.1.1 2009/10/26 08:32:30 obache Exp $
4 DISTNAME= clutter-gtk-0.8.3
5 PKGNAME= ${DISTNAME:S/clutter/clutter08/}
7 MASTER_SITES= http://www.clutter-project.org/sources/clutter-gtk/0.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
14 PKG_DESTDIR_SUPPORT= user-destdir
18 USE_TOOLS+= pkg-config
20 # Workaround for Upstream Bug#562310.
21 # for more detail, see also PR#41475.
22 TOOLS_NOOP+= gtkdoc-rebase
24 MAKE_ENV+= DOC_MODULE_VERSION=0.8
26 PKGCONFIG_OVERRIDE+= clutter-gtk.pc.in
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
34 PKG_FAIL_REASON+= Require Clutter with X11 backend
36 .include "../../mk/bsd.pkg.mk"