aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase4-runtime/Makefile
blob: b37826a60f103bcec3b624cf8335790a3ef58ce2 (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
40
41
42
43
# -*-mode: makefile-*-
# New ports collection makefile for:    kdebase-runtime
# Date created:             22 Januar 2008
# Whom:                 kde@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   kdebase-runtime
PORTVERSION=    ${KDE4_VERSION}
CATEGORIES= x11 kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=    KDE

MAINTAINER= kde@FreeBSD.org
COMMENT=    Basic applications for the KDE system

USE_KDE4=   kdelibs pimlibs kdeprefix kdehier automoc4
KDE4_BUILDENV=  yes
USE_BZIP2=  yes
USE_QT_VER= 4
QT_COMPONENTS=  corelib opengl dbus \
        qmake_build moc_build rcc_build uic_build
USE_GETTEXT=    yes

MAN1=  kdesu.1

OPTIONS=    PULSEAUDIO "Enable playback via PulseAudio soundserver" off

.include <bsd.port.pre.mk>

.if defined(WITH_PULSEAUDIO)
CMAKE_ARGS+=    -DWITH_PulseAudio:BOOL=ON
LIB_DEPENDS+=   pulse.0:${PORTSDIR}/audio/pulseaudio
.else
CMAKE_ARGS+=    -DWITH_PulseAudio:BOOL=OFF
.endif

post-extract:
    ${MKDIR} ${WRKSRC}

.include <bsd.port.post.mk>