aboutsummaryrefslogtreecommitdiff
path: root/audio/kscd/Makefile
blob: cedf72c74fc45c0d554209d8cde826bb767d990a (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
# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
# $FreeBSD$

PORTNAME=		kscd
PORTVERSION=		${KDE4_VERSION}
CATEGORIES=		audio kde
MASTER_SITES=		${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=		KDE

MAINTAINER=		kde@FreeBSD.org
COMMENT=		CD Player for KDE

LICENSE=		GPLv2

LIB_DEPENDS=		musicbrainz3.6:${PORTSDIR}/audio/libmusicbrainz3

CONFLICTS_INSTALL=	kdemultimedia-4.[1-8].*

MAKE_JOBS_SAFE=		yes
KDE4_BUILDENV=		yes
USE_KDE4=		kdehier kdelibs kdeprefix libkcddb libkcompactdisc \
			automoc4
USE_QT4=		phonon moc_build qmake_build rcc_build uic_build
USE_XZ=			yes

OPTIONS_DEFINE=		ALSA

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MALSA}
LIB_DEPENDS+=		asound.2:${PORTSDIR}/audio/alsa-lib
.else
EXTRA_PATCHES+=		${FILESDIR}/extrapatch-no_alsa
.endif

.include <bsd.port.mk>