summaryrefslogtreecommitdiff
path: root/misc/kdepim4/Makefile
blob: 910985e7b1796d114c028f5075ca969c2963321d (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# $NetBSD: Makefile,v 1.71 2015/04/17 15:53:10 adam Exp $

DISTNAME=	kdepim-${_KDE_VERSION}
PKGNAME=	${DISTNAME:S/-4/4-4/}
PKGREVISION=	1
CATEGORIES=	misc
COMMENT=	Personal Information Management tools for the KDE desktop

.include "../../meta-pkgs/kde4/Makefile.kde4"

USE_TOOLS+=	gmake

# BUILD_MAKE_FLAGS+= VERBOSE=1

CMAKE_ARGS+=-DKDEPIM_BUILD_MOBILE=OFF

CHECK_PORTABILITY_SKIP+=ktimetracker/test/booktime-baddate.sh \
		ktimetracker/test/booktime-badduration.sh \
		ktimetracker/test/booktime-badtime.sh \
		ktimetracker/test/booktime-baduid.sh \
		ktimetracker/test/booktime-works.sh \
		ktimetracker/test/delete.sh \
		ktimetracker/test/refresh_on_change.sh \
		ktimetracker/test/version.sh

REPLACE_BASH+=	kmail/kconf_update/kmail-*.sh

REPLACE_PERL+= \
	agents/mailfilteragent/kconf_update/migrate-kmail-filters.pl \
	kalarm/kalarm-1.2.1-general.pl \
	kalarm/kalarm-1.9.5-defaults.pl \
	kalarm/kalarm-2.0.2-general.pl \
	kalarm/kalarm-2.1.5-general.pl \
	kalarm/kalarm-version.pl \
	kmail/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl \
	kmail/kconf_update/kmail-3.1-use-UOID-for-identities.pl \
	kmail/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl \
	kmail/kconf_update/kmail-3.3-aegypten.pl \
	kmail/kconf_update/kmail-3.3-misc.pl \
	kmail/kconf_update/kmail-3.3-move-identities.pl \
	kmail/kconf_update/kmail-3.3-use-ID-for-accounts.pl \
	kmail/kconf_update/kmail-3.3b1-misc.pl \
	kmail/kconf_update/kmail-3.4-misc.pl \
	kmail/kconf_update/kmail-3.4.1-update-status-filters.pl \
	kmail/kconf_update/kmail-3.5-trigger-flag-migration.pl \
	kmail/kconf_update/kmail-4.0-misc.pl \
	kmail/kconf_update/kmail-pgpidentity.pl \
	kmail/kconf_update/kmail-upd-identities.pl \
	kmail/kconf_update/upgrade-signature.pl \
	kmail/kconf_update/upgrade-transport.pl \
	kresources/kolab/upgrade-resourcetype.pl \
	libkpgp/kconf_update/kpgp-3.1-upgrade-address-data.pl

PLIST_SUBST+=		KDE_VERSION=${_KDE_VERSION}

SUBST_CLASSES+=		perlfix
SUBST_STAGE.perlfix=	pre-configure
SUBST_MESSAGE.perlfix=	Fix perl path in cmake script
SUBST_FILES.perlfix=	korganizer/ical2vcal.cmake
SUBST_SED.perlfix=	-e 's:@PERL@:${PERL5}:g'

BUILDLINK_DEPMETHOD.qt4-tools=full

.include "../../meta-pkgs/kde4/kde4.mk"

.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/grantlee/buildlink3.mk"
.include "../../devel/libkgapi/buildlink3.mk"
.include "../../devel/qjson/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../misc/kdepimlibs4/buildlink3.mk"
.include "../../security/gpgme/buildlink3.mk"
.include "../../security/libassuan2/buildlink3.mk"
.include "../../security/qca2/buildlink3.mk"
.include "../../sysutils/baloo/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/kdelibs4/buildlink3.mk"
.include "../../x11/kde-runtime4/buildlink3.mk"
.include "../../x11/kde-workspace4/buildlink3.mk"
.include "../../x11/libXScrnSaver/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"