1 |
< |
# $MidnightBSD: mports/databases/evolution-data-server/Makefile,v 1.8 2010/08/14 06:19:40 laffer1 Exp $ |
1 |
> |
# $MidnightBSD: mports/databases/evolution-data-server/Makefile,v 1.9 2011/02/02 20:09:16 laffer1 Exp $ |
2 |
|
|
3 |
|
PORTNAME= evolution-data-server |
4 |
< |
PORTVERSION= 2.26.3 |
4 |
> |
PORTVERSION= 2.32.1 |
5 |
|
PORTREVISION= 1 |
6 |
|
CATEGORIES= databases gnome |
7 |
|
MASTER_SITES= GNOME |
12 |
|
LICENSE= lgpl |
13 |
|
|
14 |
|
LIB_DEPENDS= soup-2.4.1:${PORTSDIR}/devel/libsoup \ |
15 |
+ |
gdata.7:${PORTSDIR}/devel/libgdata \ |
16 |
+ |
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ |
17 |
|
ical.44:${PORTSDIR}/devel/libical \ |
18 |
+ |
nss3.1:${PORTSDIR}/security/nss \ |
19 |
|
tasn1.4:${PORTSDIR}/security/libtasn1 \ |
20 |
|
sqlite3.8:${PORTSDIR}/databases/sqlite3 \ |
21 |
< |
gnome-keyring.0:${PORTSDIR}/security/gnome-keyring |
21 |
> |
gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring |
22 |
|
|
23 |
|
USE_BZIP2= yes |
24 |
|
USE_GMAKE= yes |
25 |
|
USE_BISON= build |
26 |
|
USE_GETTEXT= yes |
27 |
< |
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui ltverhack \ |
28 |
< |
ltasneededhack |
27 |
> |
USE_GNOME= gnomeprefix gnomehack intlhack ltverhack ltasneededhack gconf2 \ |
28 |
> |
libxml2 |
29 |
|
USE_OPENLDAP= yes |
30 |
|
USE_AUTOTOOLS= libtool |
31 |
|
USE_BDB= 41+ |
32 |
|
USE_LDCONFIG= yes |
33 |
|
CONFIGURE_ARGS= --enable-static \ |
31 |
– |
--enable-nss=yes \ |
34 |
|
--enable-gnome-keyring=yes \ |
35 |
|
--with-openldap=yes \ |
36 |
|
--with-libdb=${LOCALBASE} |
37 |
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} ${PTHREAD_CFLAGS}" \ |
38 |
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" |
39 |
|
|
40 |
< |
PLIST_SUB= VERSION="2.26" EVO_VERSION="1.2" |
40 |
> |
PLIST_SUB= VERSION="2.32" EVO_VERSION="1.2" |
41 |
|
|
42 |
< |
OPTIONS= WEATHER "Enable weather calendar backend" on |
42 |
> |
#OPTIONS= IMAP4 "Enable experimental IMAP4 backend" off |
43 |
> |
OPTIONS= WEATHER "Enable weather calendar backend" on \ |
44 |
> |
KERBEROS "Adds Kerberos support" on |
45 |
|
|
46 |
|
.include <bsd.port.pre.mk> |
47 |
|
|
48 |
< |
.if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) |
49 |
< |
HEIMDAL_HOME?= ${LOCALBASE} |
46 |
< |
LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal |
47 |
< |
CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} --with-krb5-includes=${HEIMDAL_HOME}/include |
48 |
< |
.elif !defined(NO_KERBEROS) |
49 |
< |
CONFIGURE_ARGS+= --with-krb5=/usr |
48 |
> |
.if !defined(WITHOUT_KERBEROS) |
49 |
> |
CONFIGURE_ARGS+= --with-krb5=/usr |
50 |
|
KRB5_LIB= `/usr/bin/krb5-config gssapi --libs` |
51 |
|
.endif |
52 |
|
|
75 |
|
|
76 |
|
post-patch: |
77 |
|
@${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g ; \ |
78 |
< |
s|heimlibs=".*"|heimlibs="${KRB5_LIB}"|g' \ |
78 |
> |
s|heimlibs=".*"|heimlibs="${KRB5_LIB}"|g ; \ |
79 |
> |
s|-DGTK_DISABLE_DEPRECATED||g ; \ |
80 |
> |
s|-Wl,--no-undefined||g ; \ |
81 |
> |
s|-Wmissing-include-dirs||g' \ |
82 |
|
${WRKSRC}/configure |
83 |
|
|
84 |
|
.include <bsd.port.post.mk> |