summaryrefslogtreecommitdiff
path: root/multimedia/phonon-vlc/Makefile
blob: 21a97b59622eb285f578a3f3543fcbee57838ddc (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
# $FreeBSD$

PORTNAME=	phonon
PORTVERSION=	0.9.0
CATEGORIES=	multimedia kde
MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}
PKGNAMESUFFIX=	-vlc
DISTNAME=	${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION}
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	VLC backend for Phonon

LIB_DEPENDS=	libvlc.so:multimedia/vlc-qt4

WRKSRC=		${WRKDIR}/${DISTNAME:S/-backend//}

USES=		cmake kde:4 pkgconfig tar:xz
USE_KDE=	automoc4
USE_QT4=	corelib gui phonon \
		qmake_build moc_build rcc_build uic_build

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

.include <bsd.port.mk>