summaryrefslogtreecommitdiff
path: root/devel/libkolab/Makefile
blob: 237d9c93e9f0e4f0f33de12c763b32ca3ad002bc (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
# $FreeBSD$

PORTNAME=	libkolab
PORTVERSION=	0.6.3
PORTREVISION=	13
CATEGORIES=	devel kde
MASTER_SITES=	http://mirror.kolabsys.com/pub/releases/

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Advanced Kolab Object Handling Library

# The code in kolabformatV2 is LGPL21, but we consider the library
# itself to be LGPL3-licensed (and so are all the installed headers).
LICENSE=	LGPL3

DEPRECATED=		Qt4 has been EOL since december 2015
EXPIRATION_DATE=	2018-12-31

PORTSCOUT=	limit:^0\.

LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
		libcurl.so:ftp/curl \
		libkolabxml.so:textproc/libkolabxml \
		libxerces-c.so:textproc/xerces-c3

# TODO: Conditionally enable the bindings based on OPTIONs.
CMAKE_ARGS=	-DBUILD_TESTS:BOOL=OFF \
		-DPHP_BINDINGS:BOOL=OFF \
		-DPYTHON_BINDINGS:BOOL=OFF \
		-DUSE_LIBCALENDARING:BOOL=OFF
USES=		cmake kde:4 qt:4
USE_KDE=	automoc4 kdelibs pimlibs
USE_LDCONFIG=	yes
USE_QT=		corelib dbus gui network svg xml \
		moc_build qmake_build rcc_build uic_build
# Fix build of desktuils/kdepim4-runtime:
CXXFLAGS+=	-DMAKE_KOLAB_LIB

PLIST_SUB=	SHLIB_VER=${PORTVERSION}

post-patch:
# Remove utils, installs nothing, but fails without BUILD_TESTS
	${REINPLACE_CMD} -e '/add_subdirectory(utils)/d' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>