aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase4/Makefile
blob: eb86e7804ea1755361bfe067fc8c5ecdc589f450 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*-mode: makefile-*-
# New ports collection makefile for:    kdebase3.1
# Date created:             29 November 2002
# Whom:                 kde@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   kdebase
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

LIB_DEPENDS=    searchclient:${PORTSDIR}/deskutils/strigi \
        soprano.4:${PORTSDIR}/textproc/soprano \
        qimageblitz.4:${PORTSDIR}/x11/qimageblitz

LATEST_LINK=    ${PORTNAME}4

USE_BZIP2=  yes
USE_QT_VER= 4
QT_COMPONENTS=  corelib opengl dbus qt3support \
        designer network svg qtestlib \
        qmake_build moc_build rcc_build uic_build

USE_GETTEXT=    yes
USE_KDE4=   kdelibs kdeprefix kdehier automoc4
KDE4_BUILDENV=  yes
MAKE_JOBS_SAFE= yes

CMAKE_ARGS+=    -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
        -DWITH_RAW1394:BOOL=OFF \
        -DWITH_PCIUTILS:BOOL=OFF

OPTIONS=    WEBKIT  "KWebKit support in Konqueror KTTS plugin" off

MAN1=       kappfinder.1 \
        kbookmarkmerger.1 \
        kfind.1

.include <bsd.port.options.mk>

.if ${OSVERSION} < 800069
LIB_DEPENDS+=   usb-0.1:${PORTSDIR}/devel/libusb
.endif

.ifdef(WITH_WEBKIT)
LIB_DEPENDS+=   kwebkit.1:${PORTSDIR}/www/kwebkitpart
CMAKE_ARGS+=    -DWITH_KWebKitPart:BOOL=ON
PLIST_SUB+= WEBKIT=""
.else
CMAKE_ARGS+=    -DWITH_KWebKitPart:BOOL=OFF
PLIST_SUB+= WEBKIT="@comment "
.endif

.include <bsd.port.mk>