aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libvmime/Makefile
blob: cf462babd0926c710d2eb9246fc19b271b545e05 (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
PORTREVISION=   3
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= 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>