aboutsummaryrefslogtreecommitdiff
path: root/mail/libvmime/Makefile
blob: ee611f21455665240bbf6b4f1e72474a84471af0 (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
# Created by: delphij@FreeBSD.org

PORTNAME=	libvmime
PORTVERSION=	0.9.2
DISTVERSIONPREFIX=	v
PORTREVISION=	7
CATEGORIES=	mail

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	All-in-one Internet mail library

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgnutls.so:security/gnutls \
		libgsasl.so:security/libgsasl

USES=		cmake:noninja compiler:c++11-lib pkgconfig

CMAKE_ARGS=	-DLIB_SUFFIX=""
CMAKE_OFF=	VMIME_BUILD_SAMPLES VMIME_SHARED_PTR_USE_BOOST
CMAKE_ON=	VMIME_SHARED_PTR_USE_CXX
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	kisli
GH_PROJECT=	vmime

OPTIONS_DEFINE=	ICU
ICU_DESC=	Use icu instead of iconv for charset conversion

ICU_LIB_DEPENDS=	libicuuc.so:devel/icu
ICU_USES_OFF=		iconv

.include <bsd.port.mk>