aboutsummaryrefslogtreecommitdiff
path: root/multimedia/phonon-xine/Makefile
blob: 30db2e270852a534b0316e43f8cc79383c1c977f (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
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=	phonon
PORTVERSION=	4.4.4
PORTREVISION=	10
CATEGORIES=	multimedia kde
MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}/src
PKGNAMESUFFIX=	-xine
DISTNAME=	${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION}
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	The xine backend for Phonon

LIB_DEPENDS=	libxine.so:multimedia/libxine

USES=		cmake kde:4 pkgconfig tar:bzip2
USE_KDE=	automoc4
USE_QT4=	corelib dbus gui phonon \
		qmake_build moc_build rcc_build uic_build
USE_XORG=	xcb

post-install:
	${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend
	${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_xine.so \
		${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_xine.so

.include <bsd.port.mk>