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

PORTNAME=	libvmime
PORTVERSION=	0.8.1
PORTREVISION=	5
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

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>