summaryrefslogtreecommitdiffstats
path: root/multimedia/phonon-xine/Makefile
blob: da11956fca942a6f7afa21ea363145ae7c3e0d36 (plain)
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=	7
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:${PORTSDIR}/multimedia/libxine

USES=		cmake pkgconfig tar:bzip2
USE_KDE4=	kdehier automoc4 kdeprefix
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>
OpenPOWER on IntegriCloud