summaryrefslogtreecommitdiff
path: root/graphics/clutter08-gtk/Makefile
blob: 3382cd8634b58cdc8c414f15189d22929bf51930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.16 2013/06/03 10:05:08 wiz Exp $
#

DISTNAME=	clutter-gtk-0.8.3
PKGNAME=	${DISTNAME:S/clutter/clutter08/}
PKGREVISION=	14
CATEGORIES=	graphics
MASTER_SITES=	http://www.clutter-project.org/sources/clutter-gtk/0.8/

MAINTAINER=	obache@NetBSD.org
HOMEPAGE=	http://www.clutter-project.org/
COMMENT=	GTK+ Integration library for Clutter
LICENSE=	gnu-lgpl-v2.1

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

# Workaround for Upstream Bug#562310.
# for more detail, see also PR#41475.
TOOLS_NOOP+=		gtkdoc-rebase

MAKE_ENV+=	DOC_MODULE_VERSION=0.8

PKGCONFIG_OVERRIDE+=	clutter-gtk.pc.in

.include "../../x11/gtk2/buildlink3.mk"
BUILDLINK_API_DEPENDS.clutter08+=	clutter08>=0.8.7
.include "../../graphics/clutter08/buildlink3.mk"
.if !empty(PKG_BUILD_OPTIONS.clutter08:Mx11)
CONFIGURE_ARGS+=	--with-flavour=x11
.else
PKG_FAIL_REASON+=	Require Clutter with X11 backend
.endif
.include "../../mk/bsd.pkg.mk"