aboutsummaryrefslogtreecommitdiffstats
path: root/x11/plasma5-plasma-workspace/Makefile
blob: 0571a5f91060b93bb484a580b3759985a5d303a8 (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
# $FreeBSD$

PORTNAME=   plasma-workspace
DISTVERSION=    ${KDE_PLASMA_VERSION}
PORTREVISION=   2
CATEGORIES= x11 kde kde-plasma

MAINTAINER= kde@FreeBSD.org
COMMENT=    Plasma5 Plasma workspace

LIB_DEPENDS=    libcln.so:math/cln \
        libdbusmenu-qt5.so:devel/libdbusmenu-qt@qt5 \
        libqalculate.so:math/libqalculate \
        libxcb-image.so:x11/xcb-util-image \
        libxcb-util.so:x11/xcb-util
RUN_DEPENDS=    ck-launch-session:sysutils/consolekit2\
        iceauth:x11/iceauth \
        xsetroot:x11/xsetroot \
        xset:x11/xset \
        xmessage:x11/xmessage \
        ${LOCALBASE}/libdata/pkgconfig/xkeyboard-config.pc:x11/xkeyboard-config \
        iso-codes>=0:misc/iso-codes

USES=       cmake:outsource compiler:c++11-lib cpe gettext kde:5 pkgconfig \
        qt:5 tar:xz
USE_KDE=    activities activitymanagerd attica auth baloo bookmarks \
        codecs completion config configwidgets coreaddons crash \
        dbusaddons doctools emoticons filemetadata globalaccel \
        guiaddons holidays i18n iconthemes idletime init itemmodels \
        itemviews jobwidgets js jsembed kcmutils kdeclarative \
        kdelibs4support kdesu kdewebkit kio kscreenlocker \
        notifications package pty kwin libkscreen libksysguard \
        newstuff notifyconfig parts plasma-framework \
        plasma-integration prison runner service solid sonnet \
        texteditor textwidgets unitconversion wallet wayland \
        widgetsaddons windowsystem xmlgui xmlrpcclient \
        breeze_run breeze-icons_run oxygen-icons5_run \
        kded_run milou_run
USE_QT=     concurrent core declarative dbus graphicaleffects gui network phonon4 \
        printsupport qdbus quickcontrols_run script sql \
        testlib webkit widgets x11extras xml \
        paths_run \
        buildtools_build qmake_build
USE_XORG=   ice sm x11 xau xcb xcomposite xext xfixes xft xkbfile xrender xtst

CMAKE_OFF=  BUILD_TESTING

post-patch:
# set the paths in startkde
    ${REINPLACE_CMD} -e 's|%%KDE_PREFIX%%|${KDE_PREFIX}|g' \
             -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
             -e 's|%%QT_BINDIR%%|${QT_BINDIR}|g' \
             -e 's|%%QT_IMPORTDIR%%|${QT_IMPORTDIR}|g' \
             -e 's|%%QT_PLUGINDIR%%|${QT_PLUGINDIR}|g' \
             -e 's|%%QT_QMLDIR%%|${QT_QMLDIR}|g' \
        ${PATCH_WRKSRC}/startkde/startkde.cmake

.include <bsd.port.mk>