aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libvmime/Makefile
blob: 476bdcd7b8f38d3782f0b765d64d606958123e11 (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
# New ports collection makefile for:    libvmime
# Date created:             September 17, 2005
# Whom:                 delphij@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   libvmime
PORTVERSION=    0.8.1
CATEGORIES= mail
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vmime

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

# XXX Need a newer gnutls version before enabling this
#LIB_DEPENDS+=  gnutls.12:${PORTSDIR}/security/gnutls
LIB_DEPENDS+=   gsasl.9:${PORTSDIR}/security/gsasl

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_ICONV=  yes
USE_GCC=    3.3+
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

.ifndef DEBUG
CONFIGURE_ARGS+=--disable-debug
.endif

# XXX Need a newer gnutls version
CONFIGURE_ARGS+=--disable-tls

CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

DOCSDIR=    ${PREFIX}/share/doc/vmime

.include <bsd.port.mk>