# New ports collection Makefile for: phonon # Date created: 2008-01-30 # Whom: Martin Wilke # # $FreeBSD$ PORTNAME= phonon PORTVERSION= 4.3.1 PORTREVISION= 1 CATEGORIES= multimedia kde ipv6 MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/4.2.1/src PKGNAMESUFFIX= -gstreamer DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Phonon gstreamer backend LIB_DEPENDS= phonon.4:${PORTSDIR}/multimedia/phonon CONFLICTS= phonon-4.3.0* USE_BZIP2= yes USE_CMAKE= yes USE_KDE4= kdehier automoc4 kdeprefix USE_QT_VER= 4 QT_COMPONENTS= gui dbus xml opengl \ qmake_build moc_build rcc_build uic_build USE_GSTREAMER= yes post-patch: #fix finding automoc when PREFIX is not matched KDE4_PREFIX ${REINPLACE_CMD} -e 's|NO_DEFAULT_PATH|${KDE4_PREFIX} NO_DEFAULT_PATH|' \ ${WRKSRC}/cmake/FindAutomoc4.cmake pre-configure: ${REINPLACE_CMD} -e 's|{QT_INCLUDES}|{QT_INCLUDES} ${LOCALBASE}/include|'\ ${WRKSRC}/CMakeLists.txt .include