2011-05-01 07:35:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.87 2011/05/01 11:35:06 ajacoutot Exp $
|
2007-05-17 10:40:53 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2004-06-25 12:21:32 -04:00
|
|
|
|
2007-07-12 06:27:46 -04:00
|
|
|
COMMENT= data backends for the Evolution mail/PIM suite
|
2004-06-25 12:21:32 -04:00
|
|
|
|
2007-10-28 03:56:01 -04:00
|
|
|
GNOME_PROJECT= evolution-data-server
|
2011-04-22 01:55:37 -04:00
|
|
|
GNOME_VERSION= 2.32.3
|
2009-01-20 18:13:30 -05:00
|
|
|
|
2011-04-28 09:10:57 -04:00
|
|
|
REVISION= 0
|
|
|
|
|
2004-06-25 12:21:32 -04:00
|
|
|
CATEGORIES= databases
|
2009-01-20 18:13:30 -05:00
|
|
|
|
2010-09-30 03:32:08 -04:00
|
|
|
SHARED_LIBS += edataserver-1.2 11.0 # .14.0
|
|
|
|
SHARED_LIBS += ebackend-1.2 1.0 # .0.1
|
|
|
|
SHARED_LIBS += egroupwise-1.2 14.0 # .13.1
|
|
|
|
SHARED_LIBS += camel-1.2 15.0 # .19.0
|
|
|
|
SHARED_LIBS += camel-provider-1.2 15.0 # .19.0
|
|
|
|
SHARED_LIBS += ebook-1.2 13.0 # .13.1
|
|
|
|
SHARED_LIBS += edata-book-1.2 7.0 # .8.0
|
|
|
|
SHARED_LIBS += ecal-1.2 10.0 # .10.2
|
|
|
|
SHARED_LIBS += edata-cal-1.2 7.0 # .10.0
|
|
|
|
SHARED_LIBS += edataserverui-1.2 10.0 # .11.0
|
2009-10-11 08:42:41 -04:00
|
|
|
|
2010-04-22 05:17:50 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org/projects/evolution/
|
2004-06-25 12:21:32 -04:00
|
|
|
|
2009-02-15 12:33:52 -05:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-05-27 16:32:58 -04:00
|
|
|
# LGPLv2
|
2004-06-25 12:21:32 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-05-27 16:32:58 -04:00
|
|
|
|
2010-04-22 05:17:50 -04:00
|
|
|
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
|
|
|
|
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender asn1 atk-1.0 c cairo
|
2010-10-23 05:41:19 -04:00
|
|
|
WANTLIB += com_err crypto dbus-1 expat fontconfig
|
2010-04-22 05:17:50 -04:00
|
|
|
WANTLIB += freetype gconf-2 gcrypt gdk-x11-2.0 gdk_pixbuf-2.0
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gssapi
|
2010-04-22 05:17:50 -04:00
|
|
|
WANTLIB += gthread-2.0 gtk-x11-2.0 krb5 m nspr4 pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += pangoft2-1.0 pcre pixman-1 plc4 plds4 png proxy pthread
|
|
|
|
WANTLIB += pthread-stubs sasl2 soup-2.4 soup-gnome-2.4 sqlite3
|
2010-10-23 05:41:19 -04:00
|
|
|
WANTLIB += ssl tasn1 xcb xcb-render xml2 z nssutil3
|
2011-01-12 03:00:29 -05:00
|
|
|
WANTLIB += db ldap-2.4 lber-2.4 gpg-error gnutls nss3>=19 smime3 ssl3 ical
|
2010-11-14 19:22:45 -05:00
|
|
|
WANTLIB += icalss icalvcal gnome-keyring>=6 gweather gdata
|
2011-04-16 01:51:52 -04:00
|
|
|
WANTLIB += GL Xxf86vm drm xcb-shm gmp hogweed nettle
|
2004-11-22 11:59:29 -05:00
|
|
|
|
2007-05-17 10:40:53 -04:00
|
|
|
MODULES= devel/gettext \
|
2007-10-28 03:56:01 -04:00
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2004-06-25 12:21:32 -04:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
BUILD_DEPENDS= devel/bison \
|
|
|
|
devel/gperf
|
2010-11-26 09:50:09 -05:00
|
|
|
LIB_DEPENDS= databases/db/v4 \
|
2010-11-14 19:22:45 -05:00
|
|
|
databases/openldap \
|
2010-11-26 02:18:59 -05:00
|
|
|
security/nss>=3.11.4p1 \
|
2010-11-14 19:22:45 -05:00
|
|
|
textproc/libical \
|
|
|
|
x11/gnome/libgweather \
|
2011-04-28 09:10:57 -04:00
|
|
|
devel/libgdata>=0.8.0
|
2010-09-30 03:32:08 -04:00
|
|
|
|
2004-06-25 12:21:32 -04:00
|
|
|
YACC= bison
|
2011-05-01 07:35:06 -04:00
|
|
|
# Should be 2.66
|
|
|
|
AUTOCONF_VERSION= 2.65
|
2008-10-30 12:36:35 -04:00
|
|
|
CONFIGURE_STYLE= autoconf gnu
|
2007-05-17 10:40:53 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2011-04-16 01:51:52 -04:00
|
|
|
--enable-gnome-keyring \
|
|
|
|
--enable-smime \
|
|
|
|
--enable-ipv6 \
|
2010-04-22 05:17:50 -04:00
|
|
|
--with-nss-libs="${LOCALBASE}/lib" \
|
|
|
|
--with-nss-includes="${LOCALBASE}/include/nss" \
|
|
|
|
--with-nspr-libs=${LOCALBASE}/lib \
|
|
|
|
--with-nspr-includes=${LOCALBASE}/include/nspr \
|
2007-07-12 06:27:46 -04:00
|
|
|
--with-krb5 \
|
|
|
|
--with-krb5-libs=/usr/lib \
|
2007-11-21 11:10:23 -05:00
|
|
|
--with-krb5-includes=/usr/include/kerberosV \
|
|
|
|
--with-libdb="${PREFIX}/lib" \
|
|
|
|
--with-openldap=${LOCALBASE}
|
2008-10-30 12:36:35 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4" \
|
2010-09-30 03:32:08 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
2004-06-25 12:21:32 -04:00
|
|
|
|
2009-02-03 06:50:58 -05:00
|
|
|
# Only get the first x.y which is needed in the PLIST.
|
|
|
|
R= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
2007-05-17 10:40:53 -04:00
|
|
|
SUBST_VARS= R
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
|
|
|
|
${WRKSRC}/addressbook/libebook/gen-western-table.py
|
2011-03-23 11:57:39 -04:00
|
|
|
@rm ${WRKSRC}/addressbook/backends/google/util.{c,h}
|
2007-05-17 10:40:53 -04:00
|
|
|
|
2004-06-25 12:21:32 -04:00
|
|
|
.include <bsd.port.mk>
|