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

PORTNAME=	kdepim
PORTVERSION=	${KDE4_VERSION}
PORTREVISION=	1
CATEGORIES=	deskutils kde ipv6
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	${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
BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt
RUN_DEPENDS=	${KDE4_PREFIX}/bin/accountwizard:${PORTSDIR}/deskutils/kdepim4-runtime

CONFLICTS_INSTALL=	kdepim44-4.*

USE_XZ=		yes
USE_GNOME=	libxml2
USE_KDE4=	kdehier kdelibs kdeprefix pimlibs \
		akonadi automoc4 ontologies soprano strigi nepomuk-widgets
USES=		cmake:outsource iconv
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
USE_GMAKE=	yes
NO_STAGE=	yes
# 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

MAN1=		kabcclient.1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud