summaryrefslogtreecommitdiff
path: root/net/messagelib/Makefile
blob: 0cb1a4fc7ad38f949dbc296e7add49f7840d0828 (plain) (blame)
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
PORTNAME=	messagelib
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	net kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Library for handling messages
WWW=		https://github.com/KDE/messagelib

LICENSE=	LGPL21

IGNORE_FreeBSD_13=	is not supported on systems with OpenSSL 1.1.1

BUILD_DEPENDS=	${LOCALBASE}/include/boost/range/algorithm.hpp:devel/boost-libs
LIB_DEPENDS=	libassuan.so:security/libassuan \
		libgpg-error.so:security/libgpg-error \
		libgpgme.so:security/gpgme \
		libgpgmepp.so:security/gpgme-cpp \
		libqca-qt6.so:devel/qca@qt6 \
		libqgpgmeqt6.so:security/gpgme-qt@qt6

USES=		cmake compiler:c++11-lib cpe gettext kde:6 qt:6 tar:xz \
		xorg
CPE_VENDOR=	kde
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
		coreaddons guiaddons i18n iconthemes imap itemmodels itemviews \
		jobwidgets kio ktextaddons notifications service solid sonnet \
		syntaxhighlighting textwidgets wallet widgetsaddons \
		windowsystem xmlgui \
		ecm:build
# pim components
USE_KDE+=	akonadi akonadicontacts akonadimime akonadisearch calendarcore \
		contacts grantleetheme gravatar identitymanagement ldap \
		libkdepim libkleo mailtransport mbox mime pimcommon \
		pimtextedit
USE_QT=		base
USE_XORG=	x11
USE_LDCONFIG=	yes

OPTIONS_DEFINE=		INOTIFY DOCS
OPTIONS_DEFAULT=	INOTIFY
OPTIONS_SUB=		yes

INOTIFY_DESC=		Filesystem alteration notifications using inotify
INOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify

.include <bsd.port.pre.mk>

.if ${COMPILER_TYPE} == clang
CXXFLAGS+=	-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION
.endif

.include <bsd.port.post.mk>