28 lines
759 B
Makefile
28 lines
759 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= phonon
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 1
|
|
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:${PORTSDIR}/multimedia/vlc
|
|
|
|
USE_KDE4= kdehier kdeprefix automoc4
|
|
USE_QT4= corelib gui phonon \
|
|
qmake_build moc_build rcc_build uic_build
|
|
USE_XZ= yes
|
|
USES= cmake pkgconfig
|
|
|
|
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>
|