aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdepim4/Makefile
blob: 3c83445450452e162c1e48fa4a6b1b38fe7b3484 (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
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   kdepim
PORTVERSION=    ${KDE4_VERSION}
CATEGORIES= deskutils kde
MASTER_SITES=   KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=    KDE/${PORTVERSION}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Libraries for KDE-PIM applications

LIB_DEPENDS=    libgpgme.so:${PORTSDIR}/security/gpgme \
        libassuan.so:${PORTSDIR}/security/libassuan \
        libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \
        libboost_thread.so:${PORTSDIR}/devel/boost-libs \
        libgrantlee_gui.so:${PORTSDIR}/devel/grantlee \
        libclucene-core.so:${PORTSDIR}/textproc/clucene \
        liblink-grammar.so:${PORTSDIR}/textproc/link-grammar
RUN_DEPENDS=    ${KDE4_PREFIX}/bin/accountwizard:${PORTSDIR}/deskutils/kdepim4-runtime \
        ${LOCALBASE}/bin/gmd5sum:${PORTSDIR}/sysutils/coreutils

CONFLICTS_INSTALL=  kdepim44-4.*

USE_GNOME=  libxml2 libxslt:build
USE_KDE4=   kdehier kdelibs kdeprefix pimlibs kactivities \
        akonadi automoc4 ontologies soprano strigi nepomuk-widgets
USES=       cmake:outsource gmake iconv tar:xz
USE_OPENLDAP=   yes
USE_QT4=    corelib dbus declarative designer_build gui network opengl \
        script sql webkit \
        qmake_build moc_build rcc_build uic_build
USE_XORG=   x11 xscrnsaver
CMAKE_ARGS+=    -DKDEPIM_BUILD_MOBILE:BOOL=FALSE
# Avoids Clang error:
# https://git.reviewboard.kde.org/r/108617
CXXFLAGS+=  -Wno-error=return-type
USE_LDCONFIG=   yes
MAKE_ENV=   XDG_CONFIG_HOME=/dev/null

PLIST_SUB=  GRANTLEE_VER=0.4

.include <bsd.port.mk>