summaryrefslogblamecommitdiffstats
path: root/graphics/clutter-gtk3/Makefile
blob: 3d30b1c7b4b09955e762410ec42f2726903bd5a2 (plain) (tree)
1
2
3
4
5



                                                       
           






























                                                                                    
# New ports collection makefile for:    clutter-gtk
# Date created:     2008-12-25
# Whom:         Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   clutter-gtk
PORTVERSION=    0.90.2
CATEGORIES= graphics
MASTER_SITES=   http://www.clutter-project.org/sources/${PORTNAME}/${PORTVERSION:R}/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GTK+ Integration library for Clutter

LIB_DEPENDS=    clutter-glx-1.0:${PORTSDIR}/graphics/clutter

LATEST_LINK=    clutter-gtk3
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_AUTOTOOLS=  libtool:22
USE_GNOME=  gnomehack gtk30 ltverhack gnomeprefix
USE_XORG=   xp x11
USE_LDCONFIG=   yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

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

post-patch:
    @${REINPLACE_CMD} -e 's|gdk-2.0|gdk-3.0|g' \
        -e 's|gtk+-2.0|gtk+-3.0|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>