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

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

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

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

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

USE_GITHUB=	yes
GH_ACCOUNT=	kisli
GH_PROJECT=	vmime

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>
OpenPOWER on IntegriCloud