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

PORTNAME=   libvmime
PORTVERSION=    0.8.1
PORTREVISION=   6
CATEGORIES= mail
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= vmime

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

LIB_DEPENDS+=   gnutls.26:${PORTSDIR}/security/gnutls
LIB_DEPENDS+=   gsasl.11:${PORTSDIR}/security/gsasl

BROKEN=     does not compile with gnutls-2.4.x

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

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

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

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

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

.include <bsd.port.mk>