# New ports collection Makefile for:	phonon
# Date created:				2008-01-30
# Whom:					Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	phonon
PORTVERSION=	4.1.83
CATEGORIES=	multimedia kde ipv6
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	unstable/4.0.83/support/
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE phonon applications

RUN_DEPENDS+=	${LOCALBASE}/kde4/bin/automoc4:${PORTSDIR}/misc/automoc
BUILD_DEPENDS+=	${LOCALBASE}/kde4/bin/automoc4:${PORTSDIR}/misc/automoc

#XXX: Dependency on kdelibs4 missing
USE_BZIP2=	yes
USE_KDE4=	#
USE_KDE4_BUILD=	yes
USE_QT_VER=	4
QT_COMPONENTS=	corelib opengl moc rcc uic dbus qt3support designer network svg qtestlib

post-extract:
	${MKDIR} ${WRKSRC}

pre-configure:
	${REINPLACE_CMD} -e 's|{QT_INCLUDES}|{QT_INCLUDES} ${LOCALBASE}/include|'\
	    ${WRKSRC}/../CMakeLists.txt

.include <bsd.port.mk>
