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

PORTNAME=   libkcompactdisc
PORTVERSION=    ${KDE4_VERSION}
PORTREVISION=   2
CATEGORIES= audio kde kde-kde4

MAINTAINER= kde@FreeBSD.org
COMMENT=    KDE library for interfacing with audio CDs

USES=       cmake:outsource kde:4 tar:xz
USE_KDE=    automoc4 kdelibs
USE_QT4=    phonon moc_build qmake_build rcc_build uic_build
USE_LDCONFIG=   yes

OPTIONS_DEFINE= ALSA

ALSA_LIB_DEPENDS=   libasound.so:audio/alsa-lib

post-patch-ALSA-off:
    ${REINPLACE_CMD} -e '/find_package(Alsa)/d' \
        -e '/alsa_configure_file/d' ${WRKSRC}/CMakeLists.txt

post-configure-ALSA-off:
    ${TOUCH} ${CONFIGURE_WRKSRC}/config-alsa.h

.include <bsd.port.mk>