ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/mail/evolution-exchange/Makefile
Revision: 12137
Committed: Thu Dec 15 00:57:58 2011 UTC (12 years, 4 months ago) by laffer1
File size: 2097 byte(s)
Log Message:
drop gnometarget, it's dead

File Contents

# Content
1 # New ports collection makefile for: evolution-exchange
2 # Date created: 28 April, 2005
3 # Whom: Adam Weinberger, based off kiesel's ximian-exchange port
4 #
5 # $MidnightBSD: mports/mail/evolution-exchange/Makefile,v 1.3 2011/02/02 21:07:58 laffer1 Exp $
6 # $FreeBSD: ports/mail/evolution-exchange/Makefile,v 1.42 2008/05/26 21:06:08 mezz Exp $
7 #
8
9 PORTNAME= evolution-exchange
10 PORTVERSION= 2.22.2
11 CATEGORIES= mail gnome
12 MASTER_SITES= GNOME
13 DIST_SUBDIR= gnome2
14
15 MAINTAINER= ports@MidnightBSD.org
16 COMMENT= Evolution plugin to connect to Microsoft Exchange servers
17 LICENSE= gpl2
18
19 BUILD_DEPENDS= evolution:${PORTSDIR}/mail/evolution
20 RUN_DEPENDS= evolution:${PORTSDIR}/mail/evolution
21
22 USE_BZIP2= yes
23 USE_GETTEXT= yes
24 USE_AUTOTOOLS= libtool
25 USE_GMAKE= yes
26 USE_BDB= 41
27 USE_OPENLDAP= yes
28 USE_GNOME= gnomeprefix intlhack gnomehack ltasneededhack
29 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}" \
30 LDFLAGS="-L${LOCALBASE}/lib"
31 CONFIGURE_ARGS= --with-openldap=${LOCALBASE} \
32 --with-static-ldap=no \
33 --disable-compile-warnings \
34 --with-libdb=${LOCALBASE}
35
36 EVO_VERSION= 2.22
37 VERSION= 2.22
38 PLIST_SUB= VERSION=${VERSION} EVO_VERSION=${EVO_VERSION} \
39 EDS_VERSION="1.2"
40
41 GCONF_SCHEMAS= apps_exchange_addressbook-${VERSION}.schemas
42
43 .include <bsd.port.pre.mk>
44
45 .if !defined(NO_KERBEROS) && exists(/usr/lib/libkrb5.so)
46 CONFIGURE_ARGS+= --with-krb5=/usr
47 .else
48 LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
49 .if defined(HEIMDAL_HOME)
50 CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} --with-krb5-includes=${HEIMDAL_HOME}/include
51 .else
52 CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
53 .endif
54 .endif
55
56 .if ${ARCH} == "amd64"
57 CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
58 .endif
59
60 .if exists(${LOCALBASE}/include/mapi.h)
61 IGNORE= does not build with ${LOCALBASE}/include/mapi.h exists in system, run pkg_info -W ${LOCALBASE}/include/mapi.h to find the offending port and uninstall it, then install ${PORTNAME} and reinstall port
62 .endif
63
64 post-extract:
65 @${RM} -f ${WRKSRC}/storage/*.server
66
67 post-patch:
68 @${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g' \
69 ${WRKSRC}/configure
70
71 .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.4