openbsd-ports/databases/evolution-data-server/Makefile

84 lines
2.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.140 2013/04/17 17:31:06 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= unified backend for PIM programs
GNOME_PROJECT= evolution-data-server
GNOME_VERSION= 3.8.1
REVISION= 0
CATEGORIES= databases productivity
SHARED_LIBS += camel-1.2 35.0 # 43.0
SHARED_LIBS += edataserver-1.2 17.0 # 17.0
SHARED_LIBS += ebackend-1.2 4.0 # 6.0
SHARED_LIBS += ebook-contacts-1.2 0.0 # 0.0
SHARED_LIBS += edata-book-1.2 15.0 # 17.0
SHARED_LIBS += ebook-1.2 18.0 # 17.1
SHARED_LIBS += ecal-1.2 14.0 # 15.0
SHARED_LIBS += edata-cal-1.2 17.0 # 20.
HOMEPAGE= http://www.gnome.org/projects/evolution/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
WANTLIB += Xinerama Xrandr Xrender asn1 atk-1.0 atk-bridge-2.0
WANTLIB += atspi c cairo cairo-gobject com_err crypto curl db
WANTLIB += dbus-1 expat ffi fontconfig freetype gck-1 gcr-base-3
WANTLIB += gcrypt gdata gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 goa-1.0 gobject-2.0 gpg-error graphite2
WANTLIB += gssapi gthread-2.0 gtk-3 gweather-3 harfbuzz ical icalss
WANTLIB += icalvcal icudata icule icuuc idn krb5 lber-2.4 ldap-2.4
WANTLIB += m nspr4 nss3 nssutil3 oauth p11-kit pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 plc4 plds4 png pthread pthread-stubs
WANTLIB += sasl2 secret-1 smime3 softokn3 soup-2.4 soup-gnome-2.4
WANTLIB += sqlite3 ssl ssl3 xcb xcb-render xcb-shm xml2 z
MODULES= devel/gettext \
devel/dconf \
lang/python \
x11/gnome
BUILD_DEPENDS= devel/gperf
LIB_DEPENDS= databases/db/v4 \
databases/openldap \
devel/libgdata \
net/liboauth \
textproc/libical \
x11/gnome/gcr>=3.6.0 \
x11/gnome/libgweather \
x11/gnome/online-accounts
MODPY_RUNDEP= No
MODGNOME_TOOLS= gi vala
MODGNOME_CPPFLAGS= -I${LOCALBASE}/include/db4
AUTOCONF_VERSION= 2.69
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --with-krb5 \
--with-krb5-libs=/usr/lib \
--with-krb5-includes=/usr/include/kerberosV \
--with-libdb=${LOCALBASE} \
--with-openldap=${LOCALBASE}
# XXX needs signond, libsignon-glib
CONFIGURE_ARGS += --disable-uoa
pre-configure:
perl -pi -e 's,/usr/sbin/imapd,${LOCALBASE}/libexec/imapd,g' \
${WRKSRC}/camel/camel-imapx-settings.c \
${WRKSRC}/docs/reference/camel/html/CamelIMAPXSettings.html
post-install:
rm ${PREFIX}/lib/evolution-data-server/*/*.{a,la}
.include <bsd.port.mk>