summaryrefslogtreecommitdiffstats
path: root/mail/evolution/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-09-24 09:05:07 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-09-24 09:05:07 +0800
commit55b8d73baaae0fee7343c1b90306f970f366eca1 (patch)
tree6ac7f37603d2b3d0f194f74924d374cc66bbea73 /mail/evolution/Makefile
parent4856b1c47dfcbe0b8716ffe34fd43c7d66733243 (diff)
downloadmarcuscom-ports-55b8d73baaae0fee7343c1b90306f970f366eca1.tar
marcuscom-ports-55b8d73baaae0fee7343c1b90306f970f366eca1.tar.gz
marcuscom-ports-55b8d73baaae0fee7343c1b90306f970f366eca1.tar.bz2
marcuscom-ports-55b8d73baaae0fee7343c1b90306f970f366eca1.tar.lz
marcuscom-ports-55b8d73baaae0fee7343c1b90306f970f366eca1.tar.xz
marcuscom-ports-55b8d73baaae0fee7343c1b90306f970f366eca1.tar.zst
marcuscom-ports-55b8d73baaae0fee7343c1b90306f970f366eca1.zip
Add evolution, and update to 1.4.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1251 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution/Makefile')
-rw-r--r--mail/evolution/Makefile98
1 files changed, 98 insertions, 0 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
new file mode 100644
index 000000000..1120318cd
--- /dev/null
+++ b/mail/evolution/Makefile
@@ -0,0 +1,98 @@
+# New ports collection makefile for: evolution
+# Date created: 28th June 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD: ports/mail/evolution/Makefile,v 1.90 2003/09/07 08:56:24 bland Exp $
+#
+
+PORTNAME= evolution
+PORTVERSION= 1.4.5
+CATEGORIES= mail gnome
+MASTER_SITES= ${MASTER_SITE_GNOME} \
+ http://people.FreeBSD.org/~sobomax/:local
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.4 \
+ sobomax/:local
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+ db-3.1.17${EXTRACT_SUFX}:local
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An integrated mail, calendar and address book distributed suite
+
+LIB_DEPENDS= gtkhtml-3.0.3:${PORTSDIR}/www/gtkhtml3
+
+.if defined(WITH_LDAP)
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
+.endif
+RUN_DEPENDS= ${X11BASE}/lib/gnome-spell/libgnome-spell-component-0.3.so:${PORTSDIR}/textproc/gnomespell
+.if !defined(WITHOUT_PILOT)
+LIB_DEPENDS+= gpilotdconduit.2:${PORTSDIR}/palm/gnomepilot2
+.endif
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_BISON= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack gnometarget
+USE_REINPLACE= yes
+USE_OPENSSL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-db3-libs=${DB3_WRKSRC} \
+ --with-db3-includes=${DB3_WRKSRC} \
+ --enable-nss=no \
+ --enable-openssl=yes
+
+EVO_VERSION= 1.4
+
+.if defined(WITH_LDAP)
+CONFIGURE_ARGS+= --with-openldap=${LOCALBASE}
+.endif
+
+.if !defined(WITHOUT_PILOT)
+CONFIGURE_ARGS+= --with-pisock=${LOCALBASE} \
+ --enable-pilot-conduits=yes
+PLIST_SUB= PILOT:=""
+.else
+PLIST_SUB= PILOT:="@comment "
+.endif
+CONFIGURE_ENV= CPPFLAGS="-I${DB3_WRKSRC} -I${LOCALBASE}/include" \
+ LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
+
+PLIST_SUB+= VERSION=${EVO_VERSION}
+PKGINSTALL= ${WRKDIR}/pkg-install
+
+post-patch:
+ @${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${GREP} -l '<db.h>' | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|<db.h>|<db3/db.h>|g'
+ @${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" ${DB3_WRKSRC}/${DB3_CONFIGURE_SCRIPT}
+
+# DB3 stuff. Ugly, I know, but that's life.
+DB3_WRKSRC= ${WRKDIR}/db-3.1.17/build_unix
+DB3_CONFIGURE_SCRIPT= ../dist/configure
+DB3_CONFIGURE_ARGS= --enable-compat185 \
+ --enable-dump185 --enable-cxx \
+ --enable-static \
+ --disable-dynamic \
+ --prefix=${PREFIX} \
+ --includedir=${PREFIX}/include/db3 \
+ --target=${ARCH}-unknown-freebsd${OSREL}
+
+pre-configure:
+ @(cd ${DB3_WRKSRC} && \
+ ${SETENV} CC="${CC}" CXX="${CXX}" \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
+ INSTALL_DATA="${INSTALL_DATA}" \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ ${DB3_CONFIGURE_ENV} ./${DB3_CONFIGURE_SCRIPT} ${DB3_CONFIGURE_ARGS})
+ @(cd ${DB3_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+ @${RM} -f ${DB3_WRKSRC}/db3
+ @${LN} -s . ${DB3_WRKSRC}/db3
+# End of the DB3 stuff
+
+post-install:
+ @${FIND} ${PREFIX}/share/gnome/evolution/${EVO_VERSION}/default_user \
+ -type f | ${XARGS} ${CHMOD} u+w
+
+.include <bsd.port.mk>