aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libetpan/Makefile
blob: ab9f9c6e5a91d8d41e3a2e6fa205deeed59622c5 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# ex:ts=8
# Ports collection makefile for:    libEtPan!
# Date created:         Jun 27, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libetpan
PORTVERSION=    1.1
CATEGORIES= mail ipv6
MASTER_SITES=   SF

MAINTAINER= pawel@FreeBSD.org
COMMENT=    A mail library

LICENSE=    BSD

LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl \
        expat:${PORTSDIR}/textproc/expat2 \
        sasl2.2:${PORTSDIR}/security/cyrus-sasl2

USE_ICONV=  yes
USE_AUTOTOOLS=  libtool autoconf
USE_LDCONFIG=   yes
USE_GMAKE=  yes
MAKE_JOBS_SAFE= yes

CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}

OPTIONS_DEFINE=     IPV6
OPTIONS_SINGLE=     CRYPTO
OPTIONS_SINGLE_CRYPTO=  GNUTLS OPENSSL 
GNUTLS_DESC=        Enable GNUTLS support
OPENSSL_DESC=       Enable OpenSSL support
OPTIONS_DEFAULT=    IPV6 OPENSSL

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGNUTLS}
LIB_DEPENDS+=   gnutls.47:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=    --without-openssl --with-gnutls
.endif

.if ${PORT_OPTIONS:MOPENSSL}
USE_OPENSSL=    yes
CONFIGURE_ARGS+=    --without-gnutls
.endif

.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=    --enable-ipv6
.else
CONFIGURE_ARGS+=    --disable-ipv6
.endif

AUTOTOOLSFILES= aclocal.m4

post-patch:
    @${REINPLACE_CMD} -e 's|2.61|%%AUTOCONF_VERSION%%|g' ${WRKSRC}/aclocal.m4

.include <bsd.port.mk>
ommitgraph'>* Update to 4.2.5.jkim2014-06-241-2/+2 * Update to libreoffice 4.2.4bapt2014-06-111-2/+2 * Update to 4.1.6.jkim2014-05-071-2/+2 * Update to 4.1.5. It is partially based on the following PR.jkim2014-02-261-2/+2 * - Update to 4.0.6.jkim2013-10-261-2/+2 * Update to 4.0.5.jkim2013-08-231-2/+2 * Update to 4.0.4.jkim2013-06-201-2/+2 * Update to 4.0.3.jkim2013-05-101-2/+2 * Update to 4.0.2.jkim2013-04-171-2/+2 * Update to 4.0.1.jkim2013-03-091-2/+2 * Update to 3.6.5.jkim2013-02-051-2/+2 * - Update to 3.5.7.jkim2012-10-271-2/+2 * - Update to 3.5.6.jkim2012-08-241-2/+2 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-2/+2 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-2/+2