summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-04 07:13:04 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-04 07:13:04 +0800
commitfd196641aaf7e751b9c9549be4dbe59b35b41037 (patch)
treec4405f95eccfa97eb46585ce51a3386eac79d1b6 /mail
parent877e1aea7fd4dc5bdc1a73498f58be759b9cabf1 (diff)
downloadmarcuscom-ports-fd196641aaf7e751b9c9549be4dbe59b35b41037.tar
marcuscom-ports-fd196641aaf7e751b9c9549be4dbe59b35b41037.tar.gz
marcuscom-ports-fd196641aaf7e751b9c9549be4dbe59b35b41037.tar.bz2
marcuscom-ports-fd196641aaf7e751b9c9549be4dbe59b35b41037.tar.lz
marcuscom-ports-fd196641aaf7e751b9c9549be4dbe59b35b41037.tar.xz
marcuscom-ports-fd196641aaf7e751b9c9549be4dbe59b35b41037.tar.zst
marcuscom-ports-fd196641aaf7e751b9c9549be4dbe59b35b41037.zip
Add evolution, -exchange and -mapi to repo-copy.
Add evo -exchange and -mapi plugins at version 2.91.6. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15188 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r--mail/evolution-exchange3/Makefile66
-rw-r--r--mail/evolution-exchange3/distinfo2
-rw-r--r--mail/evolution-exchange3/files/patch-eplugin_exchange-operations.c24
-rw-r--r--mail/evolution-exchange3/pkg-descr11
-rw-r--r--mail/evolution-exchange3/pkg-plist206
-rw-r--r--mail/evolution-mapi3/Makefile40
-rw-r--r--mail/evolution-mapi3/distinfo2
-rw-r--r--mail/evolution-mapi3/files/patch-src_account-setup-eplugin_exchange-mapi-account-setup.c24
-rw-r--r--mail/evolution-mapi3/files/patch-src_libexchangemapi_exchnage-mapi-cal-utils.c10
-rw-r--r--mail/evolution-mapi3/pkg-descr1
-rw-r--r--mail/evolution-mapi3/pkg-plist111
11 files changed, 497 insertions, 0 deletions
diff --git a/mail/evolution-exchange3/Makefile b/mail/evolution-exchange3/Makefile
new file mode 100644
index 000000000..f389ebb81
--- /dev/null
+++ b/mail/evolution-exchange3/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: evolution-exchange
+# Date created: 28 April, 2005
+# Whom: Adam Weinberger, based off kiesel's ximian-exchange port
+#
+# $FreeBSD$
+# $MCom: ports/mail/evolution-exchange/Makefile,v 1.166 2010/11/16 09:52:36 kwm Exp $
+#
+
+PORTNAME= evolution-exchange
+PORTVERSION= 2.91.6
+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>=2.91.0:${PORTSDIR}/mail/evolution3
+RUN_DEPENDS= evolution>=2.91.0:${PORTSDIR}/mail/evolution3
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_AUTOTOOLS= libtool
+USE_GMAKE= yes
+USE_BDB= 41
+USE_OPENLDAP= yes
+USE_GNOME= gnomeprefix intlhack gnomehack ltasneededhack
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-openldap=${LOCALBASE} \
+ --with-static-ldap=no \
+ --with-libdb=${LOCALBASE}
+
+VERSION= 2.92
+PLIST_SUB= VERSION=${VERSION}
+
+GCONF_SCHEMAS= apps_exchange_addressbook-${VERSION}.schemas
+
+.include <bsd.port.pre.mk>
+
+.if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) || defined(NO_KERBEROS)
+HEIMDAL_HOME?= ${LOCALBASE}
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} \
+ --with-krb5-includes=${HEIMDAL_HOME}/include
+KRB5_LIB= `${HEIMDAL_HOME}/bin/krb5-config gssapi --libs`
+.elif !defined(NO_KERBEROS)
+CONFIGURE_ARGS+= --with-krb5=/usr
+KRB5_LIB= `/usr/bin/krb5-config gssapi --libs`
+.endif
+
+.if ${ARCH} == "amd64"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
+.endif
+
+.if exists(${LOCALBASE}/include/mapi.h)
+IGNORE= build fails when ${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 the port that installed mapi.h
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g' \
+ -e 's|-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi|${KRB5_LIB}|g' \
+ -e 's|-Wmissing-include-dirs||g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/mail/evolution-exchange3/distinfo b/mail/evolution-exchange3/distinfo
new file mode 100644
index 000000000..8d328d700
--- /dev/null
+++ b/mail/evolution-exchange3/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome2/evolution-exchange-2.91.6.tar.bz2) = f56170d2c0538dd38adc0db7826275a4bd6107b516235fa45f0850f4378affbb
+SIZE (gnome2/evolution-exchange-2.91.6.tar.bz2) = 1274260
diff --git a/mail/evolution-exchange3/files/patch-eplugin_exchange-operations.c b/mail/evolution-exchange3/files/patch-eplugin_exchange-operations.c
new file mode 100644
index 000000000..5c7706bad
--- /dev/null
+++ b/mail/evolution-exchange3/files/patch-eplugin_exchange-operations.c
@@ -0,0 +1,24 @@
+--- eplugin/exchange-operations.c.orig 2010-03-07 20:00:49.000000000 -0500
++++ eplugin/exchange-operations.c 2010-03-13 17:47:23.000000000 -0500
+@@ -304,3 +304,21 @@ is_exchange_personal_folder (ExchangeAcc
+ }
+ return FALSE;
+ }
++
++const char * g_module_check_init (gpointer module);
++const char *
++g_module_check_init (gpointer module) {
++ return NULL;
++}
++
++void g_module_unload (gpointer module);
++void
++g_module_unload (gpointer module) {
++ return;
++}
++
++GtkWidget *e_plugin_lib_get_configure_widget (EPlugin *plugin);
++GtkWidget *
++e_plugin_lib_get_configure_widget (EPlugin *plugin) {
++ return NULL;
++}
diff --git a/mail/evolution-exchange3/pkg-descr b/mail/evolution-exchange3/pkg-descr
new file mode 100644
index 000000000..03dc3b673
--- /dev/null
+++ b/mail/evolution-exchange3/pkg-descr
@@ -0,0 +1,11 @@
+Evolution-exchange is a plugin for Evolution that adds Exchange client
+capabilities to Evolution.
+
+With Evolution-Exchange installed, Evolution functions as an
+Exchange client, enabling users to become full participants in company-wide
+group scheduling and other collaborative tasks. Linux, Solaris and FreeBSD
+users can access public folders, Global Address Lists, email, calendar,
+task lists, and group scheduling information.
+
+- Alex Kiesel
+kiesel@schlund.de
diff --git a/mail/evolution-exchange3/pkg-plist b/mail/evolution-exchange3/pkg-plist
new file mode 100644
index 000000000..846f4e1ff
--- /dev/null
+++ b/mail/evolution-exchange3/pkg-plist
@@ -0,0 +1,206 @@
+bin/exchange-connector-setup-%%VERSION%%
+lib/evolution-exchange/%%VERSION%%/libevolution-exchange-shared.a
+lib/evolution-exchange/%%VERSION%%/libevolution-exchange-shared.la
+lib/evolution-exchange/%%VERSION%%/libevolution-exchange-shared.so
+lib/evolution-exchange/%%VERSION%%/libexchange-storage.a
+lib/evolution-exchange/%%VERSION%%/libexchange-storage.la
+lib/evolution-exchange/%%VERSION%%/libexchange-storage.so
+lib/evolution-exchange/%%VERSION%%/libexchange.a
+lib/evolution-exchange/%%VERSION%%/libexchange.la
+lib/evolution-exchange/%%VERSION%%/libexchange.so
+lib/evolution-exchange/%%VERSION%%/libexchange.so.0
+lib/evolution-exchange/%%VERSION%%/libxntlm.a
+lib/evolution-exchange/%%VERSION%%/libxntlm.la
+lib/evolution-exchange/%%VERSION%%/libxntlm.so
+lib/evolution-exchange/%%VERSION%%/libxntlm.so.0
+lib/evolution/%%VERSION%%/plugins/liborg-gnome-exchange-operations.a
+lib/evolution/%%VERSION%%/plugins/liborg-gnome-exchange-operations.la
+lib/evolution/%%VERSION%%/plugins/liborg-gnome-exchange-operations.so
+lib/evolution/%%VERSION%%/plugins/org-gnome-exchange-operations.eplug
+lib/evolution-data-server/addressbook-backends/libebookbackendexchange.a
+lib/evolution-data-server/addressbook-backends/libebookbackendexchange.la
+lib/evolution-data-server/addressbook-backends/libebookbackendexchange.so
+lib/evolution-data-server/calendar-backends/libecalbackendexchange.a
+lib/evolution-data-server/calendar-backends/libecalbackendexchange.la
+lib/evolution-data-server/calendar-backends/libecalbackendexchange.so
+lib/evolution-data-server/camel-providers/libcamelexchange.a
+lib/evolution-data-server/camel-providers/libcamelexchange.la
+lib/evolution-data-server/camel-providers/libcamelexchange.so
+lib/evolution-data-server/camel-providers/libcamelexchange.urls
+%%DOCSDIR%%/E2kContext.html
+%%DOCSDIR%%/E2kGlobalCatalog.html
+%%DOCSDIR%%/E2kSecurityDescriptor.html
+%%DOCSDIR%%/ch01.html
+%%DOCSDIR%%/ch02.html
+%%DOCSDIR%%/ch03.html
+%%DOCSDIR%%/ch04.html
+%%DOCSDIR%%/ch05.html
+%%DOCSDIR%%/ch06.html
+%%DOCSDIR%%/evolution-exchange-E2kAutoconfig.html
+%%DOCSDIR%%/evolution-exchange-E2kContext-(private).html
+%%DOCSDIR%%/evolution-exchange-E2kOperation-(private).html
+%%DOCSDIR%%/evolution-exchange-E2kOperation.html
+%%DOCSDIR%%/evolution-exchange-E2kProperties.html
+%%DOCSDIR%%/evolution-exchange-E2kRestriction-(vaporware).html
+%%DOCSDIR%%/evolution-exchange-E2kResult-(private).html
+%%DOCSDIR%%/evolution-exchange-E2kSid.html
+%%DOCSDIR%%/evolution-exchange-E2kUserDialog.html
+%%DOCSDIR%%/evolution-exchange-MAPI.html
+%%DOCSDIR%%/evolution-exchange-e2k-action.html
+%%DOCSDIR%%/evolution-exchange-e2k-freebusy.html
+%%DOCSDIR%%/evolution-exchange-e2k-http-utils.html
+%%DOCSDIR%%/evolution-exchange-e2k-kerberos.html
+%%DOCSDIR%%/evolution-exchange-e2k-restriction.html
+%%DOCSDIR%%/evolution-exchange-e2k-result.html
+%%DOCSDIR%%/evolution-exchange-e2k-rule.html
+%%DOCSDIR%%/evolution-exchange-e2k-uri.html
+%%DOCSDIR%%/evolution-exchange-e2k-utils.html
+%%DOCSDIR%%/evolution-exchange-e2k-xml-utils.html
+%%DOCSDIR%%/evolution-exchange-test-utils.html
+%%DOCSDIR%%/evolution-exchange-xntlm-des.html
+%%DOCSDIR%%/evolution-exchange-xntlm-md4.html
+%%DOCSDIR%%/evolution-exchange-xntlm.html
+%%DOCSDIR%%/evolution-exchange.devhelp
+%%DOCSDIR%%/evolution-exchange.devhelp2
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/up.png
+%%DOCSDIR%%/ximian-connector-autoconfig.html
+%%DOCSDIR%%/ximian-connector-bug-private.html
+%%DOCSDIR%%/ximian-connector-bug-xml.html
+%%DOCSDIR%%/ximian-connector-calendar.html
+%%DOCSDIR%%/ximian-connector-delegation.html
+%%DOCSDIR%%/ximian-connector-favorites.html
+%%DOCSDIR%%/ximian-connector-fba.html
+%%DOCSDIR%%/ximian-connector-freebusy.html
+%%DOCSDIR%%/ximian-connector-mail-threading.html
+%%DOCSDIR%%/ximian-connector-mail.html
+%%DOCSDIR%%/ximian-connector-ntlm.html
+%%DOCSDIR%%/ximian-connector-oof.html
+%%DOCSDIR%%/ximian-connector-other-users.html
+%%DOCSDIR%%/ximian-connector-permissions.html
+%%DOCSDIR%%/ximian-connnector-booking.html
+%%DATADIR%%/%%VERSION%%/images/connector-mini.png
+%%DATADIR%%/%%VERSION%%/images/connector.png
+%%DATADIR%%/%%VERSION%%/images/exchange-delegates-48.png
+%%DATADIR%%/%%VERSION%%/images/exchange-oof-48.png
+%%DATADIR%%/%%VERSION%%/ui/ximian-connector.xml
+share/evolution/%%VERSION%%/errors/org-gnome-exchange-operations.error
+share/locale/ar/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/as/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ast/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/az/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/bg/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/bn/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/bn_IN/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ca/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ca@valencia/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/cs/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/cy/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/da/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/de/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/dz/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/el/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/en_CA/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/en_GB/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/en@shaw/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/es/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/et/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/eu/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/fa/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/fi/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/fr/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/gl/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/gu/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/he/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/hi/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/hu/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/id/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/it/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ja/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ka/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/kn/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ko/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ku/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/lt/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/lv/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/mai/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/mk/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ml/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/mn/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/mr/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ms/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/nb/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ne/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/nl/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/nn/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/oc/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/or/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/pa/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/pl/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/pt/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/pt_BR/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ro/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ru/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/rw/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/si/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sk/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sl/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sq/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sr/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sr@latin/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sv/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ta/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/te/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/th/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/tr/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ug/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/uk/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/vi/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/xh/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/zh_CN/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/zh_HK/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/zh_TW/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+@dirrm %%DATADIR%%/%%VERSION%%/ui
+@dirrm %%DATADIR%%/%%VERSION%%/images
+@dirrm %%DATADIR%%/%%VERSION%%
+@dirrm %%DATADIR%%
+@dirrm %%DOCSDIR%%
+@dirrm lib/evolution-exchange/%%VERSION%%
+@dirrm lib/evolution-exchange
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/xh/LC_MESSAGES
+@dirrmtry share/locale/xh
+@dirrmtry share/locale/ug/LC_MESSAGES
+@dirrmtry share/locale/ug
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/mai/LC_MESSAGES
+@dirrmtry share/locale/mai
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/en@shaw/LC_MESSAGES
+@dirrmtry share/locale/en@shaw
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/ca@valencia/LC_MESSAGES
+@dirrmtry share/locale/ca@valencia
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/as/LC_MESSAGES
+@dirrmtry share/locale/as
diff --git a/mail/evolution-mapi3/Makefile b/mail/evolution-mapi3/Makefile
new file mode 100644
index 000000000..45d9f4807
--- /dev/null
+++ b/mail/evolution-mapi3/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: evolution-mapi
+# Date created: 24 Mar, 2009
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/mail/evolution-mapi/Makefile,v 1.23 2010/11/16 09:58:56 kwm Exp $
+#
+
+PORTNAME= evolution-mapi
+PORTVERSION= 2.91.6
+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>=2.91.0:${PORTSDIR}/mail/evolution3
+LIB_DEPENDS= mapi.0:${PORTSDIR}/mail/libmapi
+RUN_DEPENDS= evolution>=2.91.0:${PORTSDIR}/mail/evolution3
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= gconf2
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+VERSION= 2.92
+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>
diff --git a/mail/evolution-mapi3/distinfo b/mail/evolution-mapi3/distinfo
new file mode 100644
index 000000000..552e72d7f
--- /dev/null
+++ b/mail/evolution-mapi3/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome3/evolution-mapi-2.91.6.tar.bz2) = 1e673b9baee5621b9adf9084849c67362e8b72aa75f9f0665f572614950b962b
+SIZE (gnome3/evolution-mapi-2.91.6.tar.bz2) = 561822
diff --git a/mail/evolution-mapi3/files/patch-src_account-setup-eplugin_exchange-mapi-account-setup.c b/mail/evolution-mapi3/files/patch-src_account-setup-eplugin_exchange-mapi-account-setup.c
new file mode 100644
index 000000000..b4123235e
--- /dev/null
+++ b/mail/evolution-mapi3/files/patch-src_account-setup-eplugin_exchange-mapi-account-setup.c
@@ -0,0 +1,24 @@
+--- src/account-setup-eplugin/exchange-mapi-account-setup.c.orig 2010-03-08 04:03:24.000000000 -0500
++++ src/account-setup-eplugin/exchange-mapi-account-setup.c 2010-03-13 17:49:17.000000000 -0500
+@@ -696,3 +696,21 @@ exchange_mapi_cal_commit (EPlugin *epl,
+ // Update the folder list in the plugin and ExchangeMAPIFolder
+ return;
+ }
++
++const char *g_module_check_init (gpointer module);
++const char *
++g_module_check_init (gpointer module) {
++ return NULL;
++}
++
++void g_module_unload (gpointer module);
++void
++g_module_unload (gpointer module) {
++ return;
++}
++
++GtkWidget *e_plugin_lib_get_configure_widget (EPlugin *plugin);
++GtkWidget *
++e_plugin_lib_get_configure_widget (EPlugin *plugin) {
++ return NULL;
++}
diff --git a/mail/evolution-mapi3/files/patch-src_libexchangemapi_exchnage-mapi-cal-utils.c b/mail/evolution-mapi3/files/patch-src_libexchangemapi_exchnage-mapi-cal-utils.c
new file mode 100644
index 000000000..5801861bd
--- /dev/null
+++ b/mail/evolution-mapi3/files/patch-src_libexchangemapi_exchnage-mapi-cal-utils.c
@@ -0,0 +1,10 @@
+--- src/libexchangemapi/exchange-mapi-cal-utils.c.orig 2010-06-07 16:59:16.000000000 +0200
++++ src/libexchangemapi/exchange-mapi-cal-utils.c 2010-06-07 17:01:25.000000000 +0200
+@@ -2175,6 +2175,7 @@ populate_freebusy_data (struct Binary_r
+ gchar *start = NULL, *end = NULL;
+ time_t start_date, end_date;
+ icalcomponent *icalcomp = NULL;
++ int daylight = 0;
+
+ if (!bin)
+ return;
diff --git a/mail/evolution-mapi3/pkg-descr b/mail/evolution-mapi3/pkg-descr
new file mode 100644
index 000000000..21610bb54
--- /dev/null
+++ b/mail/evolution-mapi3/pkg-descr
@@ -0,0 +1 @@
+WWW: http://www.go-evolution.org/MAPIProvider
diff --git a/mail/evolution-mapi3/pkg-plist b/mail/evolution-mapi3/pkg-plist
new file mode 100644
index 000000000..519a86735
--- /dev/null
+++ b/mail/evolution-mapi3/pkg-plist
@@ -0,0 +1,111 @@
+include/evolution-data-server-%%VERSION%%/mapi/exchange-mapi-defs.h
+include/evolution-data-server-%%VERSION%%/mapi/exchange-mapi-folder.h
+include/evolution-data-server-%%VERSION%%/mapi/exchange-mapi-connection.h
+include/evolution-data-server-%%VERSION%%/mapi/exchange-mapi-utils.h
+include/evolution-data-server-%%VERSION%%/mapi/exchange-mapi-cal-utils.h
+include/evolution-data-server-%%VERSION%%/mapi/exchange-mapi-cal-tz-utils.h
+include/evolution-data-server-%%VERSION%%/mapi/exchange-mapi-cal-recur-utils.h
+include/evolution-data-server-%%VERSION%%/mapi/exchange-mapi-mail-utils.h
+include/evolution-data-server-%%VERSION%%/mapi/em-operation-queue.h
+lib/evolution/%%VERSION%%/plugins/org-gnome-exchange-mapi.eplug
+lib/evolution/%%VERSION%%/plugins/liborg-gnome-exchange-mapi.so
+lib/evolution/%%VERSION%%/plugins/liborg-gnome-exchange-mapi.la
+lib/evolution-data-server/addressbook-backends/libebookbackendmapi.so
+lib/evolution-data-server/addressbook-backends/libebookbackendmapi.la
+lib/evolution-data-server/calendar-backends/libecalbackendmapi.so
+lib/evolution-data-server/calendar-backends/libecalbackendmapi.la
+lib/evolution-data-server/camel-providers/libcamelmapi.urls
+lib/evolution-data-server/camel-providers/libcamelmapi.so
+lib/evolution-data-server/camel-providers/libcamelmapi.la
+lib/libexchangemapi-1.0.la
+lib/libexchangemapi-1.0.so
+lib/libexchangemapi-1.0.so.0
+libdata/pkgconfig/libexchangemapi-1.0.pc
+share/evolution-data-server-%%VERSION%%/mapi/tz-mapi-to-ical
+share/evolution-data-server-%%VERSION%%/mapi/tz-ical-to-mapi
+share/locale/as/LC_MESSAGES/evolution-mapi.mo
+share/locale/ast/LC_MESSAGES/evolution-mapi.mo
+share/locale/bg/LC_MESSAGES/evolution-mapi.mo
+share/locale/bn/LC_MESSAGES/evolution-mapi.mo
+share/locale/bn_IN/LC_MESSAGES/evolution-mapi.mo
+share/locale/ca/LC_MESSAGES/evolution-mapi.mo
+share/locale/ca@valencia/LC_MESSAGES/evolution-mapi.mo
+share/locale/cs/LC_MESSAGES/evolution-mapi.mo
+share/locale/da/LC_MESSAGES/evolution-mapi.mo
+share/locale/de/LC_MESSAGES/evolution-mapi.mo
+share/locale/el/LC_MESSAGES/evolution-mapi.mo
+share/locale/en@shaw/LC_MESSAGES/evolution-mapi.mo
+share/locale/en_GB/LC_MESSAGES/evolution-mapi.mo
+share/locale/es/LC_MESSAGES/evolution-mapi.mo
+share/locale/et/LC_MESSAGES/evolution-mapi.mo
+share/locale/eu/LC_MESSAGES/evolution-mapi.mo
+share/locale/fi/LC_MESSAGES/evolution-mapi.mo
+share/locale/fr/LC_MESSAGES/evolution-mapi.mo
+share/locale/gl/LC_MESSAGES/evolution-mapi.mo
+share/locale/gu/LC_MESSAGES/evolution-mapi.mo
+share/locale/he/LC_MESSAGES/evolution-mapi.mo
+share/locale/hi/LC_MESSAGES/evolution-mapi.mo
+share/locale/hu/LC_MESSAGES/evolution-mapi.mo
+share/locale/id/LC_MESSAGES/evolution-mapi.mo
+share/locale/it/LC_MESSAGES/evolution-mapi.mo
+share/locale/ja/LC_MESSAGES/evolution-mapi.mo
+share/locale/kn/LC_MESSAGES/evolution-mapi.mo
+share/locale/ko/LC_MESSAGES/evolution-mapi.mo
+share/locale/lt/LC_MESSAGES/evolution-mapi.mo
+share/locale/lv/LC_MESSAGES/evolution-mapi.mo
+share/locale/mai/LC_MESSAGES/evolution-mapi.mo
+share/locale/ml/LC_MESSAGES/evolution-mapi.mo
+share/locale/mr/LC_MESSAGES/evolution-mapi.mo
+share/locale/ms/LC_MESSAGES/evolution-mapi.mo
+share/locale/nb/LC_MESSAGES/evolution-mapi.mo
+share/locale/nl/LC_MESSAGES/evolution-mapi.mo
+share/locale/or/LC_MESSAGES/evolution-mapi.mo
+share/locale/pa/LC_MESSAGES/evolution-mapi.mo
+share/locale/pl/LC_MESSAGES/evolution-mapi.mo
+share/locale/pt/LC_MESSAGES/evolution-mapi.mo
+share/locale/pt_BR/LC_MESSAGES/evolution-mapi.mo
+share/locale/ro/LC_MESSAGES/evolution-mapi.mo
+share/locale/ru/LC_MESSAGES/evolution-mapi.mo
+share/locale/si/LC_MESSAGES/evolution-mapi.mo
+share/locale/sk/LC_MESSAGES/evolution-mapi.mo
+share/locale/sl/LC_MESSAGES/evolution-mapi.mo
+share/locale/sr/LC_MESSAGES/evolution-mapi.mo
+share/locale/sr@latin/LC_MESSAGES/evolution-mapi.mo
+share/locale/sv/LC_MESSAGES/evolution-mapi.mo
+share/locale/ta/LC_MESSAGES/evolution-mapi.mo
+share/locale/te/LC_MESSAGES/evolution-mapi.mo
+share/locale/th/LC_MESSAGES/evolution-mapi.mo
+share/locale/tr/LC_MESSAGES/evolution-mapi.mo
+share/locale/ug/LC_MESSAGES/evolution-mapi.mo
+share/locale/uk/LC_MESSAGES/evolution-mapi.mo
+share/locale/vi/LC_MESSAGES/evolution-mapi.mo
+share/locale/zh_CN/LC_MESSAGES/evolution-mapi.mo
+share/locale/zh_HK/LC_MESSAGES/evolution-mapi.mo
+share/locale/zh_TW/LC_MESSAGES/evolution-mapi.mo
+@dirrm share/evolution-data-server-%%VERSION%%/mapi
+@dirrm share/evolution-data-server-%%VERSION%%
+@dirrm include/evolution-data-server-%%VERSION%%/mapi
+@dirrm include/evolution-data-server-%%VERSION%%
+@comment locale
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/mai/LC_MESSAGES
+@dirrmtry share/locale/mai
+@dirrmtry share/locale/en@shaw/LC_MESSAGES
+@dirrmtry share/locale/en@shaw
+@dirrmtry share/locale/ca@valencia/LC_MESSAGES
+@dirrmtry share/locale/ca@valencia
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/ast/LC_MESSAGES
+@dirrmtry share/locale/ast
+@dirrmtry share/locale/as/LC_MESSAGES
+@dirrmtry share/locale/as