openbsd-ports/databases/evolution-data-server/Makefile
jasper 116b5d6a8c unconfuse pkg_add -ui
from mikolaj kucharski
2007-11-25 10:37:57 +00:00

77 lines
2.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2007/11/25 10:37:57 jasper Exp $
SHARED_ONLY= Yes
COMMENT= data backends for the Evolution mail/PIM suite
GNOME_PROJECT= evolution-data-server
GNOME_VERSION= 1.12.1
PKGNAME= ${DISTNAME}p0
CATEGORIES= databases
SHARED_LIBS += edataserver-1.2 10.0 # .10.0
SHARED_LIBS += egroupwise-1.2 13.1 # .13.1
SHARED_LIBS += exchange-storage-1.2 3.0 # .3.0
SHARED_LIBS += camel-1.2 10.1 # .10.1
SHARED_LIBS += camel-provider-1.2 10.1 # .10.1
SHARED_LIBS += ebook-1.2 10.0 # .10.0
SHARED_LIBS += edata-book-1.2 6.1 # .6.1
SHARED_LIBS += ecal-1.2 7.2 # .7.2
SHARED_LIBS += edata-cal-1.2 6.2 # .6.2
SHARED_LIBS += edataserverui-1.2 8.2 # .8.2
HOMEPAGE= http://www.gnome.org/projects/evolution/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ORBit-2 ORBitCosNaming-2 X11 Xau Xcomposite Xcursor \
Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender \
asn1 atk-1.0 audiofile bonobo-2 bonobo-activation c \
cairo com_err crypto dbus-1 dbus-glib-1 esd expat fontconfig \
freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 \
glitz gmodule-2.0 gnomevfs-2 gobject-2.0 gssapi gthread-2.0 \
gtk-x11-2.0 krb5 m nspr4 pango-1.0 pangocairo-1.0 pangoft2-1.0 \
pcre plc4 plds4 png popt pthread sasl2 ssl util xml2 z
MODULES= devel/gettext \
lang/python \
x11/gnome
BUILD_DEPENDS= :bison-*:devel/bison \
:libgnomeui-*:x11/gnome/libgnomeui
LIB_DEPENDS= db:db-4.*:databases/db/v4 \
ldap,lber::databases/openldap \
glade-2.0::devel/libglade2 \
soup-2.2.>=7.0::devel/libsoup \
nss3.>=19,smime3.>=19,softokn3.>=19,ssl3.>=19:nss->=3.11.4p1:security/nss \
gnome-2::x11/gnome/libgnome
USE_X11= Yes
YACC= bison
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/evolution-data-server \
--enable-gnome-keyring=no \
--enable-nss=yes \
--enable-smime=yes \
--with-broken-spool=no \
--with-krb5 \
--with-krb5-libs=/usr/lib \
--with-krb5-includes=/usr/include/kerberosV \
--with-libdb="${PREFIX}/lib" \
--with-openldap=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
R= ${GNOME_VERSION:R}
SUBST_VARS= R
post-extract:
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
${WRKSRC}/addressbook/libebook/gen-western-table.py
.include <bsd.port.mk>