summaryrefslogtreecommitdiffstats
path: root/graphics/clutter/Makefile
blob: 0dae60d265e7385f34642032cbb13067956906bf (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
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
#  $MCom: ports/trunk/graphics/clutter/Makefile 18610 2013-06-30 16:33:05Z marcus $

PORTNAME=   clutter
PORTVERSION=    1.12.2
CATEGORIES= graphics
MASTER_SITES=   GNOME

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

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \
        libcogl.so:${PORTSDIR}/graphics/cogl

USES=       gettext gmake pathfix pkgconfig
USE_XZ=     yes
USE_AUTOTOOLS=  libtool
USE_GNOME=  gdkpixbuf2 ltverhack gnomeprefix atk pango \
        introspection:build
USE_GL=     gl
USE_XORG=   glproto x11 xfixes xdamage xcomposite xi
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --with-x --enable-conformance=no \
        --disable-gdk-backend

CPPFLAGS+=  -I${LOCALBASE}/include -fno-omit-frame-pointer
LDFLAGS+=   -L${LOCALBASE}/lib

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libclutter-1.0.so.0

.include <bsd.port.mk>