summaryrefslogtreecommitdiffstats
path: root/mail/evolution/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-11 06:14:27 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-11 06:14:27 +0800
commit13b87067e4488029415d88ebbb06ab1ec07ec31f (patch)
tree081215d6f120c6d6ff3fe6178d6516d6c9d906e1 /mail/evolution/Makefile
parent4e49c6bf5a2f29b626554cb39b22e0e0be272ed8 (diff)
downloadmarcuscom-ports-13b87067e4488029415d88ebbb06ab1ec07ec31f.tar
marcuscom-ports-13b87067e4488029415d88ebbb06ab1ec07ec31f.tar.gz
marcuscom-ports-13b87067e4488029415d88ebbb06ab1ec07ec31f.tar.bz2
marcuscom-ports-13b87067e4488029415d88ebbb06ab1ec07ec31f.tar.lz
marcuscom-ports-13b87067e4488029415d88ebbb06ab1ec07ec31f.tar.xz
marcuscom-ports-13b87067e4488029415d88ebbb06ab1ec07ec31f.tar.zst
marcuscom-ports-13b87067e4488029415d88ebbb06ab1ec07ec31f.zip
Update to 2.5.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5096 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution/Makefile')
-rw-r--r--mail/evolution/Makefile128
1 files changed, 128 insertions, 0 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
new file mode 100644
index 000000000..9d2a8c8dd
--- /dev/null
+++ b/mail/evolution/Makefile
@@ -0,0 +1,128 @@
+# 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.76 2005/10/09 11:09:15 kwm Exp $
+#
+
+PORTNAME= evolution
+PORTVERSION= 2.5.1
+CATEGORIES= mail gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5
+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= ${X11BASE}/lib/gnome-spell/libgnome-spell-component-0.3.so:${PORTSDIR}/textproc/gnomespell
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_BISON= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack intlhack evolutiondataserver \
+ gtkhtml3 desktopfileutils
+USE_REINPLACE= yes
+USE_AUTOTOOLS= libtool:15
+INSTALLS_OMF= yes
+CONFIGURE_ARGS= --enable-nss=yes \
+ --with-nss-includes=${LOCALBASE}/include/nss/nss \
+ --with-nss-libs=${LOCALBASE}/lib \
+ --with-nspr-includes=${LOCALBASE}/include/nspr \
+ --with-nspr-libs=${LOCALBASE}/lib \
+ --enable-mono=no \
+ --with-sub-version=" FreeBSD GNOME Team Port"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= apps_evolution_addressbook-${EVO_VERSION}.schemas \
+ apps_evolution_calendar-${EVO_VERSION}.schemas \
+ apps-evolution-mail-prompts-checkdefault-2.6.schemas \
+ apps_evolution_shell-${EVO_VERSION}.schemas \
+ evolution-mail-${EVO_VERSION}.schemas
+
+EVO_VERSION= 2.6
+PLIST_SUB= VERSION=${EVO_VERSION} \
+ PORTVERSION=2.6
+
+OPTIONS= PILOT "Enable Palm Pilot sync support" off \
+ LDAP "Enable LDAP support" on \
+ SPAMASSASSIN "Enable SpamAssassin spam filtering" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD)
+WITH_GSTREAMER= yes
+WITH_DBUS= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libdbus-glib-1.so)
+WITH_DBUS= yes
+.endif
+
+.if exists(${X11BASE}/lib/libgstreamer-0.8.so)
+WITH_GSTREAMER= yes
+.endif
+
+.if defined(WITH_PILOT)
+LIB_DEPENDS+= gpilotdconduit.2:${PORTSDIR}/palm/gnomepilot2
+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_GSTREAMER)
+LIB_DEPENDS+= gstreamer-0.8.5:${PORTSDIR}/multimedia/gstreamer
+PLIST_SUB+= GSTREAMER=""
+.else
+PLIST_SUB+= GSTREAMER="@comment "
+.endif
+
+.if defined(WITH_DBUS)
+LIB_DEPENDS+= dbus-glib-1.1:${PORTSDIR}/devel/dbus
+PLIST_SUB+= DBUS=""
+.else
+PLIST_SUB+= DBUS="@comment "
+.endif
+
+.if ${OSVERSION} >= 500000 && !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:
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
+ s|%%EVO_VERSION%%|${EVO_VERSION}|' \
+ ${FILESDIR}/evolibs.sh > ${WRKDIR}/evolibs.sh
+
+post-install:
+ @${LN} -sf ${PREFIX}/bin/evolution-${EVO_VERSION} \
+ ${PREFIX}/bin/evolution
+ @${INSTALL_SCRIPT} -m 555 ${WRKDIR}/evolibs.sh \
+ ${PREFIX}/etc/rc.d/000.evolibs.sh
+ -@update-desktop-database
+
+.include <bsd.port.post.mk>