summaryrefslogtreecommitdiffstats
path: root/databases/evolution-data-server/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-28 15:15:21 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-28 15:15:21 +0800
commit5c204db903c46fc59da21ebd4d568e918992525f (patch)
tree9ccc496960e99c29339facdeda1ee54926cda491 /databases/evolution-data-server/Makefile
parent2f9f6155ec07eed86969e1d78267437c7fe5aef9 (diff)
downloadmarcuscom-ports-5c204db903c46fc59da21ebd4d568e918992525f.tar
marcuscom-ports-5c204db903c46fc59da21ebd4d568e918992525f.tar.gz
marcuscom-ports-5c204db903c46fc59da21ebd4d568e918992525f.tar.bz2
marcuscom-ports-5c204db903c46fc59da21ebd4d568e918992525f.tar.lz
marcuscom-ports-5c204db903c46fc59da21ebd4d568e918992525f.tar.xz
marcuscom-ports-5c204db903c46fc59da21ebd4d568e918992525f.tar.zst
marcuscom-ports-5c204db903c46fc59da21ebd4d568e918992525f.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8661 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases/evolution-data-server/Makefile')
-rw-r--r--databases/evolution-data-server/Makefile76
1 files changed, 76 insertions, 0 deletions
diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile
new file mode 100644
index 000000000..2c4d6a27b
--- /dev/null
+++ b/databases/evolution-data-server/Makefile
@@ -0,0 +1,76 @@
+# New ports collection makefile for: evolution-data-server
+# Date created: 09 December 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/databases/evolution-data-server/Makefile,v 1.112 2007/03/13 04:35:01 marcus Exp $
+#
+
+PORTNAME= evolution-data-server
+PORTVERSION= 1.10.1
+PORTREVISION= 1
+CATEGORIES= databases 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= The data backends for the Evolution integrated mail/PIM suite
+
+LIB_DEPENDS= soup-2.2.8:${PORTSDIR}/devel/libsoup \
+ nss3.1:${PORTSDIR}/security/nss \
+ tasn1.3:${PORTSDIR}/security/libtasn1
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_BISON= yes
+USE_GETTEXT= yes
+USE_XLIB= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gnometarget libgnomeui \
+ ltverhack
+USE_OPENLDAP= yes
+USE_AUTOTOOLS= libtool:15
+USE_BDB= 41
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --enable-static \
+ --enable-nss=yes \
+ --with-openldap=yes \
+ --with-krb5=/usr \
+ --with-libdb=${LOCALBASE}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+PLIST_SUB= VERSION="1.10" EVO_VERSION="1.2"
+
+OPTIONS= IMAP4 "Enable experimental IMAP4 backend" off
+
+.include <bsd.port.pre.mk>
+
+.if ( ( ${OSVERSION} < 504101 ) || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600012 ) )
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libedataserver_e-msgport.c
+.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
+
+.if defined(WITH_IMAP4) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-imap4=yes
+PLIST_SUB+= IMAP4=""
+.else
+PLIST_SUB+= IMAP4="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>