summaryrefslogtreecommitdiffstats
path: root/graphics/clutter/Makefile
blob: 8803a43c189286f5d14581fef5836523d0ed954f (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
36
37
38
39
40
41
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
#  $MCom: ports/graphics/clutter/Makefile,v 1.34 2010/09/24 16:35:42 kwm Exp $

PORTNAME=	clutter
PORTVERSION=	1.4.0
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	GNOME \
		http://source.clutter-project.org/sources/${PORTNAME}/${PORTVERSION:R}/

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	OpenGL based interactive canvas library

LIB_DEPENDS=	json-glib-1.0:${PORTSDIR}/devel/json-glib

LICENSE=	LGPL21

USES=		pkgconfig gettext
USE_GMAKE=	yes
USE_BZIP2=	yes
USE_AUTOTOOLS=	libtool
USE_GNOME=	gdkpixbuf2 gnomehack ltverhack gnomeprefix atk pango
USE_GL=		gl
USE_XORG=	glproto x11 xfixes xdamage xcomposite xi
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--with-x --enable-conformance=no

CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}

post-patch:
	@${REINPLACE_CMD} -e 's|G_CONST_RETURN|const|g' \
		${WRKSRC}/clutter/cally/*.c \
		${WRKSRC}/clutter/*.[ch] \
		${WRKSRC}/clutter/glx/*.c \
		${WRKSRC}/clutter/x11/*.h \
		${WRKSRC}/clutter/cogl/cogl/*.h \
		${WRKSRC}/clutter/json/*.c

.include <bsd.port.mk>
OpenPOWER on IntegriCloud