aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kactivitymanagerd/Makefile
blob: 31514f89d2297820cfda403aa8e47a4abe054521 (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
# $FreeBSD$

PORTNAME=   kactivitymanagerd
PORTVERSION=    ${KDE4_VERSION}
PORTREVISION=   1
CATEGORIES= x11 kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=    KDE/${PORTVERSION}
DISTNAME=   kactivities-${PORTVERSION}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Activity Manager daemon

CONFLICTS_INSTALL=  kdelibs-4.7.* kde-runtime-4.7.* kactivities-4.[8-9].*

USE_XZ=     yes
USE_KDE4=   automoc4 kdehier kdelibs kdeprefix soprano nepomuk-core \
        kactivities
USES=       cmake:outsource
USE_QT4=    declarative opengl script sql \
        moc_build qmake_build rcc_build uic_build
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes
DISTINFO_FILE=  ${.CURDIR}/../kactivities/distinfo

# https://bugs.kde.org/show_bug.cgi?id=305529#c10
CMAKE_ARGS+=    -DCMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS=-rdynamic

# 'USES= moderncompiler' would help, for now force dependence on gcc
USE_GCC=    4.6+

post-patch:
    ${REINPLACE_CMD} -e "/add_subdirectory (lib)/d" \
        -e "/add_subdirectory (ontologies)/d" \
        ${WRKSRC}/src/CMakeLists.txt \

.include <bsd.port.mk>