summaryrefslogtreecommitdiffstats
path: root/mail/evolution-mapi/Makefile
blob: 9815b83c526acaaf180227724f27724f87eff278 (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
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/mail/evolution-mapi3/Makefile 18610 2013-06-30 16:33:05Z marcus $

PORTNAME=   evolution-mapi
PORTVERSION=    3.6.3
CATEGORIES= mail gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Evolution plugin to connect to Microsoft Exchange servers

BUILD_DEPENDS=  evolution>=${EVO_VER}:${PORTSDIR}/mail/evolution
LIB_DEPENDS=    libmapi.so:${PORTSDIR}/mail/libmapi
RUN_DEPENDS=    evolution>=${EVO_VER}:${PORTSDIR}/mail/evolution

BROKEN=     needs newer libmapi which needs samba4 update.

EVO_VER=    3.6.3
USE_XZ=     yes
USES=       gettext gmake pkgconfig
USE_GNOME=  gconf2
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS"=   -L${LOCALBASE}/lib

VERSION=    3.0
PLIST_SUB=  VERSION=${VERSION}

post-patch:
    @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
        ${WRKSRC}/src/libexchangemapi/Makefile.in
    @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
            ${WRKSRC}/configure

.include <bsd.port.mk>