aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kde4-baseapps/Makefile
blob: fd3215bc754e4c567555ae347aaa4522d1f7748d (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
# -*-mode: makefile-*-
# New ports collection makefile for:    kdebase3.1
# Date created:             29 November 2002
# Whom:                 kde@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   kdebase
PORTVERSION=    ${KDE4_VERSION}
PORTREVISION=   1
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 workspace 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

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

.include <bsd.port.pre.mk>

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

post-patch:
.if ${OSVERSION} > 800090
    @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-libusb20
.endif
.if ${OSVERSION} >= 800100
    @${REINPLACE_CMD} -e 's,usb_revision.h,usbdi.h,g' \
        ${PATCH_WRKSRC}/apps/kinfocenter/usbview/usbdevices.h
.endif

.include <bsd.port.post.mk>