summaryrefslogtreecommitdiffstats
path: root/mail/evolution-groupwise/Makefile
blob: 7cabe89c3c797caa6cc9629155bc1e90c7410cf3 (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
45
46
# New ports collection makefile for:    evolution-groupwise
# Date created:             16 Okt 2011
# Whom:                 Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/mail/evolution-groupwise/Makefile,v 1.2 2012/01/22 12:51:34 kwm Exp $
#

PORTNAME=   evolution-groupwise
PORTVERSION=    3.4.2
CATEGORIES= mail gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

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

BUILD_DEPENDS=  evolution>=${EVO_VER}:${PORTSDIR}/mail/evolution3
RUN_DEPENDS=    evolution>=${EVO_VER}:${PORTSDIR}/mail/evolution3

CONFLICTS=  evolution-exchange-2.[0-9]*

EVO_VER=    3.4.1
LATEST_LINK=    evolution-exchange3
USE_XZ=     yes
USE_GETTEXT=    yes
USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
USE_BDB=    41
USE_GNOME=  gnomeprefix intlhack gnomehack ltasneededhack libxml2 \
        gconf2 
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-libdb=${LOCALBASE}

VERSION=    3.4
PLIST_SUB=  VERSION=${VERSION}

#GCONF_SCHEMAS= apps_exchange_addressbook-${VERSION}.schemas

post-patch:
    @${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g' \
        -e 's|-Wmissing-include-dirs||g' \
            ${WRKSRC}/configure

.include <bsd.port.mk>