aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/phonon-xine/Makefile
blob: 12e55ff322ce6ebe6eacae8b33cb9caf46548cc5 (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
30
31
32
33
34
35
36
37
38
39
# New ports collection Makefile for:    phonon
# Date created:             2008-01-30
# Whom:                 Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   phonon
PORTVERSION=    4.4.4
CATEGORIES= multimedia kde ipv6
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${PHONON_BRANCH}/${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=    xine.1:${PORTSDIR}/multimedia/libxine

CONFLICTS=  phonon-4.3.0*

PHONON_BRANCH=  stable
USE_BZIP2=  yes
USE_CMAKE=  yes
USE_KDE4=   kdehier automoc4 kdeprefix
USE_QT_VER= 4
QT_COMPONENTS=  gui dbus xml phonon \
        qmake_build moc_build rcc_build uic_build

PLIST_SUB+= QT_PREFIX=${QT_PREFIX}

pre-su-install:
    ${MKDIR} ${QT_PLUGINDIR}/phonon_backend

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

.include <bsd.port.mk>