summaryrefslogtreecommitdiffstats
path: root/mail/evolution/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-30 09:11:20 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-30 09:11:20 +0800
commitbef0136fff4e8be53bcf014723989af20a1ce0b5 (patch)
tree591c1d1b0a11ff5d9934aa804afa58139c64622c /mail/evolution/Makefile
parent2fb7cbfb5469ffcf88132c0a67d8908b2899f5b5 (diff)
downloadmarcuscom-ports-bef0136fff4e8be53bcf014723989af20a1ce0b5.tar
marcuscom-ports-bef0136fff4e8be53bcf014723989af20a1ce0b5.tar.gz
marcuscom-ports-bef0136fff4e8be53bcf014723989af20a1ce0b5.tar.bz2
marcuscom-ports-bef0136fff4e8be53bcf014723989af20a1ce0b5.tar.lz
marcuscom-ports-bef0136fff4e8be53bcf014723989af20a1ce0b5.tar.xz
marcuscom-ports-bef0136fff4e8be53bcf014723989af20a1ce0b5.tar.zst
marcuscom-ports-bef0136fff4e8be53bcf014723989af20a1ce0b5.zip
Update to 2.21.1
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9889 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution/Makefile')
-rw-r--r--mail/evolution/Makefile123
1 files changed, 123 insertions, 0 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
new file mode 100644
index 000000000..b2f22b4c7
--- /dev/null
+++ b/mail/evolution/Makefile
@@ -0,0 +1,123 @@
+# New ports collection makefile for: evolution
+# Date created: 28th June 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/mail/evolution/Makefile,v 1.153 2007/10/17 21:36:11 mezz Exp $
+#
+
+PORTNAME= evolution
+PORTVERSION= 2.21.1
+CATEGORIES= mail gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An integrated mail, calendar and address book distributed suite
+
+LIB_DEPENDS= nss3.1:${PORTSDIR}/security/nss
+RUN_DEPENDS= ${LOCALBASE}/lib/gnome-spell/libgnome-spell-component-0.3.so:${PORTSDIR}/textproc/gnome-spell
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_BISON= build
+USE_GETTEXT= yes
+USE_XLIB= yes
+USE_GNOME= gnomeprefix gnomehack intlhack evolutiondataserver \
+ gtkhtml3 desktopfileutils gnomedocutils libgnomeprintui
+GNU_CONFIGURE= yes
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+USE_LDCONFIG= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib/evolution/%%VERSION%%
+CONFIGURE_ARGS= --enable-nss=yes \
+ --enable-mono=no \
+ --with-sub-version=" FreeBSD GNOME Team Port"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= apps-evolution-mail-notification.schemas \
+ apps-evolution-mail-prompts-checkdefault.schemas \
+ apps_evolution_addressbook.schemas \
+ apps_evolution_calendar.schemas \
+ apps_evolution_shell.schemas \
+ apps-evolution-attachment-reminder.schemas \
+ bogo-junk-plugin.schemas \
+ evolution-mail.schemas
+
+EVO_VERSION= 2.22
+PLIST_SUB= VERSION=${EVO_VERSION} \
+ PORTVERSION=2.12
+
+OPTIONS= PILOT "Enable Palm Pilot sync support" off \
+ LDAP "Enable LDAP support" on \
+ SPAMASSASSIN "Enable SpamAssassin spam filtering" off
+
+.include <bsd.port.pre.mk>
+
+USE_LDCONFIG= ${PREFIX}/lib/evolution/${EVO_VERSION}
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
+
+.if defined(PACKAGE_BUILDING)
+WITH_DBUS= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libdbus-glib-1.so)
+WITH_DBUS= yes
+.endif
+
+.if defined(WITH_PILOT)
+LIB_DEPENDS+= gpilotdconduit.2:${PORTSDIR}/palm/gnome-pilot
+CONFIGURE_ARGS+= --with-pisock=${LOCALBASE} \
+ --enable-pilot-conduits=yes
+PLIST_SUB+= PILOT:=""
+.else
+PLIST_SUB+= PILOT:="@comment "
+.endif
+
+.if !defined(WITHOUT_LDAP)
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+=--with-openldap=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--with-openldap=no
+.endif
+
+.if defined(WITH_SPAMASSASSIN)
+RUN_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin
+.endif
+
+.if defined(WITH_DBUS)
+LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+PLIST_SUB+= DBUS=""
+.else
+PLIST_SUB+= DBUS="@comment "
+.endif
+
+.if !defined(NO_KERBEROS) && exists(/usr/lib/libkrb5.so)
+CONFIGURE_ARGS+= --with-krb5=/usr
+.else
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+.if defined(HEIMDAL_HOME)
+CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} --with-krb5-includes=${HEIMDAL_HOME}/include
+.else
+CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
+.endif
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^plugins_standard_always/s/audio-inline//' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|stdlib.n|stdlib.h|' \
+ ${WRKSRC}/iconv-detect.c
+ @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
+ ${WRKSRC}/plugins/bogo-junk-plugin/bf-junk-filter.c
+ @${REINPLACE_CMD} -e 's|/usr/sbin|${LOCALBASE}/bin|g' \
+ ${WRKSRC}/plugins/sa-junk-plugin/em-junk-filter.c
+
+post-install: install-ldconfig-file
+ ${MKDIR} ${PREFIX}/include/evolution-${EVO_VERSION}/composer
+ ${INSTALL_DATA} ${WRKSRC}/composer/e-msg*.h ${PREFIX}/include/evolution-${EVO_VERSION}/composer
+ ${INSTALL_DATA} ${WRKSRC}/composer/Editor.h ${PREFIX}/include/evolution-${EVO_VERSION}/composer
+
+.include <bsd.port.post.mk>