mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
ba3ec598fd
Submitted by: Alonso Schaich <alonsoschaich@fastmail.fm> via KDE's area51
36 lines
973 B
Makefile
36 lines
973 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libkolab
|
|
PORTVERSION= 0.5.2
|
|
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
|
|
|
|
LIB_DEPENDS= libkolabxml.so:${PORTSDIR}/textproc/libkolabxml
|
|
|
|
# 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:outsource
|
|
USE_KDE4= automoc4 kdelibs pimlibs
|
|
USE_LDCONFIG= yes
|
|
USE_QT4= corelib gui xml \
|
|
moc_build qmake_build rcc_build uic_build
|
|
|
|
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>
|