summaryrefslogblamecommitdiffstats
path: root/graphics/clutter-qt/Makefile
blob: 1fc197b881e409d8eeae6c0d36aaf187647a9bea (plain) (tree)

































                                                                                    
# New ports collection makefile for:    clutter-qt
# Date created:     04 Aug 2009
# Whom:         Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#

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

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

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

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:22
USE_QT_VER= 4
QT_COMPONENTS=  corelib gui moc_build
USE_GNOME=  gnomehack
USE_LDCONFIG=   yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

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

post-patch:
    @${RM} ${WRKSRC}/examples/moc_testqt.cc \
        ${WRKSRC}/clutter-qt/moc_clutter-qt.cc

.include <bsd.port.mk>