summaryrefslogtreecommitdiffstats
path: root/mail/evolution-kolab/Makefile
blob: 1d75afcde60512eac8635bdbb0488947f517d31b (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
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/mail/evolution-kolab/Makefile 17268 2013-04-01 05:13:11Z marcus $

PORTNAME=   evolution-kolab
PORTVERSION=    3.4.4
CATEGORIES= mail gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Kolab groupware connector for evolution 3

BUILD_DEPENDS=  evolution>=${EVO_VER}:${PORTSDIR}/mail/evolution3 \
        gperf>=3.0.3:${PORTSDIR}/devel/gperf
LIB_DEPENDS=    gmime-2.4:${PORTSDIR}/mail/gmime24
RUN_DEPENDS=    evolution>=${EVO_VER}:${PORTSDIR}/mail/evolution3

EVO_VER=    3.4.1
USE_XZ=     yes
USES=       gettext pathfix pkgconfig
USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
USE_SQLITE= yes
MAKE_JOBS_UNSAFE=yes
USE_GNOME=  gnomeprefix intlhack ltasneededhack libxml2 gconf2 
CONFIGURE_ENV=  ac_cv_path_GPERF=${LOCALBASE}/bin/gperf
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

VERSION=    3.4
PLIST_SUB=  VERSION=${VERSION}

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
CFLAGS+=    -fPIC
.endif

post-patch:
    @${REINPLACE_CMD} -e 's,prefix}/doc/evolution_kolab,prefix}/share/doc/evolution_kolab,g' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>