diff options
Diffstat (limited to 'mail/evolution/Makefile')
-rw-r--r-- | mail/evolution/Makefile | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile new file mode 100644 index 000000000..d6c89fc78 --- /dev/null +++ b/mail/evolution/Makefile @@ -0,0 +1,80 @@ +# New ports collection makefile for: evolution +# Date created: 28th June 2000 +# Whom: Ade Lovett <ade@FreeBSD.org> +# +# $FreeBSD: ports/mail/evolution/Makefile,v 1.100 2004/11/10 03:19:13 mezz Exp $ +# + +PORTNAME= evolution +PORTVERSION= 2.1.0 +CATEGORIES= mail gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.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= ${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 gal2 \ + gtkhtml3 desktopfileutils +USE_REINPLACE= yes +USE_LIBTOOL_VER=15 +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-openssl=no \ + --with-sub-version=" FreeBSD GNOME Team Port" \ + --with-krb5=/usr +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_shell-${EVO_VERSION}.schemas \ + evolution-mail-${EVO_VERSION}.schemas + +EVO_VERSION= 2.2 +PLIST_SUB= VERSION=${EVO_VERSION} \ + PORTVERSION=2.2 + +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(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 + +post-install: + @${CHMOD} u+w ${PREFIX}/share/gnome/evolution/${EVO_VERSION}/default/C/mail/local/Inbox + @${LN} -sf ${PREFIX}/bin/evolution-${EVO_VERSION} \ + ${PREFIX}/bin/evolution + +.include <bsd.port.post.mk> |