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

PORTSDIR?=/usr/ports
.include <${PORTSDIR}/Mk/bsd.trinity.mk>

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


USES+=		perl5
USE_PERL5+=	build

BUILD_DEPENDS+=	${TDE_PREFIX}/lib/libartsc.so:audio/arts-trinity \
		${TDE_PREFIX}/lib/libtdecore.so:x11/tdelibs-trinity \
		${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \

LIB_DEPENDS+=	libtqt.so:x11-toolkits/libtqtinterface \
		libcaldav.so:devel/libcaldav \
		libcarddav.so:devel/libcarddav \

LIB_DEPENDS+=\
		libboost_system.so:devel/boost-libs \
		libical.so:devel/libical \
		libsasl2.so:security/cyrus-sasl2 \
		libgpgme.so:security/gpgme \
		libXss.so: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

post-build: tde-cmake-check

do-install: tde-cmake-install

.include <bsd.port.mk>