openbsd-ports/databases/evolution-data-server/Makefile
2011-09-26 17:03:27 +00:00

94 lines
2.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.98 2011/09/26 17:03:27 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= unified backend for PIM programs
GNOME_PROJECT= evolution-data-server
GNOME_VERSION= 3.2.0
REVISION= 0
# Only get the first x.y which is needed in the PLIST.
R= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
SUBST_VARS= R
CATEGORIES= databases
SHARED_LIBS += edataserver-1.2 13.0 # 15.0
SHARED_LIBS += ebackend-1.2 2.0 # 1.0
SHARED_LIBS += camel-1.2 17.0 # 29.0
SHARED_LIBS += camel-provider-1.2 17.0 # 29.0
SHARED_LIBS += ebook-1.2 15.0 # 15.1
SHARED_LIBS += edata-book-1.2 9.0 # 11.0
SHARED_LIBS += ecal-1.2 12.0 # 12.2
SHARED_LIBS += edata-cal-1.2 9.0 # 13.0
SHARED_LIBS += edataserverui-3.0 1.0 # 1.0
HOMEPAGE= http://www.gnome.org/projects/evolution/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm asn1
WANTLIB += atk-1.0 c cairo cairo-gobject com_err crypto db dbus-1
WANTLIB += drm expat fontconfig freetype gconf-2 gcrypt gdata
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gnome-keyring
WANTLIB += gobject-2.0 gpg-error gssapi gthread-2.0 gtk-3 gweather-3
WANTLIB += ical icalss icalvcal krb5 lber-2.4 ldap-2.4 m nspr4
WANTLIB += nss3 nssutil3 pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 plc4 plds4 png pthread pthread-stubs
WANTLIB += sasl2 smime3 soup-2.4 soup-gnome-2.4 sqlite3 ssl ssl3
WANTLIB += xcb xcb-render xcb-shm xml2 z curl idn oauth ffi
WANTLIB += kvm softokn3 goa-1.0
MODULES= devel/gettext \
lang/python \
x11/gnome
BUILD_DEPENDS= devel/bison \
devel/gperf
LIB_DEPENDS= databases/db/v4 \
databases/openldap \
net/liboauth \
textproc/libical \
x11/gnome/libgweather \
devel/libgdata>=0.10.1 \
x11/gnome/online-accounts
YACC= bison
MODPY_RUNDEP= No
MODPY_ADJ_FILES= addressbook/libebook/gen-western-table.py
AUTOCONF_VERSION= 2.68
AUTOMAKE_VERSION= 1.9
MODGNOME_TOOLS= goi
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --enable-ssl \
--enable-smime \
--enable-ipv6 \
--enable-weather \
--enable-nntp \
--with-nss-libs="${LOCALBASE}/lib" \
--with-nss-includes="${LOCALBASE}/include/nss" \
--with-nspr-libs=${LOCALBASE}/lib \
--with-nspr-includes=${LOCALBASE}/include/nspr \
--with-krb5 \
--with-krb5-libs=/usr/lib \
--with-krb5-includes=/usr/include/kerberosV \
--with-libdb=${LOCALBASE} \
--with-openldap=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
.include <bsd.port.mk>