summaryrefslogtreecommitdiffstats
path: root/freebsd/tdepim/Makefile
blob: edf95e84147fdad1c7aa7d150d50cbab474de6bf (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
# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#

.include <../trinity.port.mk>

PORTNAME=		tdepim-trinity
COMMENT=		Trinity Personal Information Management apps
TDE_PREVERSION=		~pre9+c2cfb988
MASTER_SITE_SUBDIR=	t/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		x11 deskutils
DIST_SUBDIR=		TDE


USES+=		perl5
USE_PERL5+=	build

BUILD_DEPENDS+=	${TDE_PREFIX}/lib/libartsc.so:${PORTSDIR}/x11/trinity/dependencies/arts \
		${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs \

LIB_DEPENDS+=	libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
		libcaldav.so:${PORTSDIR}/x11/trinity/dependencies/libcaldav \
		libcarddav.so:${PORTSDIR}/x11/trinity/dependencies/libcarddav \

LIB_DEPENDS+=\
		libboost_system.so:${PORTSDIR}/devel/boost-libs \
		libical.so:${PORTSDIR}/devel/libical \
		libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \
		libgpgme.so:${PORTSDIR}/security/gpgme \
		libXss.so:${PORTSDIR}/x11/libXScrnSaver

# Build
post-patch: tde-pathfix

do-configure: tde-cmake-prepare
	${TDE_CMAKE_CONFIGURE} \
	\
	-DBUILD_ALL="ON" \
	-DWITH_ARTS="ON" \
	-DWITH_SASL="ON" \
	-DWITH_NEWDISTRLISTS="ON" \
	-DWITH_GNOKII="OFF" \
	-DWITH_EXCHANGE="ON" \
	-DWITH_EGROUPWARE="ON" \
	-DWITH_KOLAB="ON" \
	-DWITH_SLOX="ON" \
	-DWITH_GROUPWISE="ON" \
	-DWITH_FEATUREPLAN="ON" \
	-DWITH_GROUPDAV="ON" \
	-DWITH_BIRTHDAYS="ON" \
	-DWITH_NEWEXCHANGE="ON" \
	-DWITH_SCALIX="ON" \
	-DWITH_CALDAV="ON" \
	-DWITH_CARDDAV="ON" \
	-DWITH_INDEXLIB="ON" \
	-DWITH_XSCREENSAVER="ON" \

do-build: tde-cmake-build

do-install: tde-cmake-install

.include <bsd.port.mk>