aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libvmime/Makefile
blob: 822bba85cf297fa875bbbabb64190c10cddb1898 (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
DISTVERSIONPREFIX=  v
PORTREVISION=   2
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,noninja 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>