blob: f10d710f74786542f371d04d4ca4bb5e20bbb8b8 (
plain) (
blame)
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
42
|
# 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= 4
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= libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib
LICENSE= LGPL21
USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
USE_GNOME= gdkpixbuf2 gnomeprefix atk pango introspection:build
INSTALL_TARGET= install-strip
USE_GL= gl
USE_XORG= glproto x11 xfixes xdamage xcomposite xi
USE_LDCONFIG= yes
GNU_CONFIGURE= 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
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
${WRKSRC}/clutter/Makefile.in
.include <bsd.port.mk>
|