aboutsummaryrefslogtreecommitdiff
path: root/mail/libvmime/Makefile
blob: 8b0f4807c848054212fddbe42a341dd8114825a7 (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
# $FreeBSD$

PORTNAME=	libvmime
PORTVERSION=	0.9.2.s20140721
CATEGORIES=	mail

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

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls \
		libgsasl.so:${PORTSDIR}/security/gsasl

USE_GITHUB=	yes
GH_ACCOUNT=	kisli
GH_PROJECT=	vmime
GH_TAGNAME=	${GH_COMMIT}
GH_COMMIT=	03a0e36

USES=		cmake:outsource compiler:c++11-lib iconv pkgconfig
USE_LDCONFIG=	yes

CMAKE_ARGS=	-DLIB_SUFFIX:STRING="" \
		-DVMIME_BUILD_SAMPLES:BOOL=NO \
		-DVMIME_SHARED_PTR_USE_BOOST:BOOL=NO \
		-DVMIME_SHARED_PTR_USE_CXX:BOOL=YES

post-patch:
	@${REINPLACE_CMD} 's,$${VMIME_INSTALL_LIBDIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>