ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/databases/evolution-data-server/Makefile
Revision: 17933
Committed: Thu Dec 25 02:02:13 2014 UTC (9 years, 4 months ago) by laffer1
File size: 2375 byte(s)
Log Message:
USES

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= evolution-data-server
4 PORTVERSION= 2.32.1
5 PORTREVISION= 2
6 CATEGORIES= databases gnome
7 MASTER_SITES= GNOME
8 DIST_SUBDIR= gnome2
9
10 MAINTAINER= ports@MidnightBSD.org
11 COMMENT= The data backends for the Evolution integrated mail/PIM suite
12
13 LICENSE= lgpl
14
15 LIB_DEPENDS= soup-2.4.1:${PORTSDIR}/devel/libsoup \
16 gdata.7:${PORTSDIR}/devel/libgdata \
17 dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
18 ical.44:${PORTSDIR}/devel/libical \
19 nss3.1:${PORTSDIR}/security/nss \
20 tasn1:${PORTSDIR}/security/libtasn1 \
21 sqlite3.8:${PORTSDIR}/databases/sqlite3 \
22 gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring
23
24 USES= bison gettext gmake tar:bzip2
25 USE_GNOME= gnomeprefix gnomehack intlhack ltverhack ltasneededhack gconf2 \
26 libxml2
27 USE_OPENLDAP= yes
28 USES= libtool
29 USE_BDB= 41+
30 USE_LDCONFIG= yes
31 CONFIGURE_ARGS= --enable-static \
32 --enable-gnome-keyring=yes \
33 --with-openldap=yes \
34 --with-libdb=${LOCALBASE}
35 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} ${PTHREAD_CFLAGS}" \
36 LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
37
38 PLIST_SUB= VERSION="2.32" EVO_VERSION="1.2"
39
40 #OPTIONS= IMAP4 "Enable experimental IMAP4 backend" off
41 OPTIONS= WEATHER "Enable weather calendar backend" on \
42 KERBEROS "Adds Kerberos support" on
43
44 .include <bsd.port.pre.mk>
45
46 .if !defined(WITHOUT_KERBEROS)
47 CONFIGURE_ARGS+= --with-krb5=/usr
48 KRB5_LIB= `/usr/bin/krb5-config gssapi --libs`
49 .endif
50
51 #.if defined(WITH_IMAP4) || defined(PACKAGE_BUILDING)
52 #CONFIGURE_ARGS+= --enable-imap4=yes
53 #PLIST_SUB+= IMAP4=""
54 #.else
55 PLIST_SUB+= IMAP4="@comment "
56 #.endif
57
58 .if defined(WITH_WEATHER)
59 LIB_DEPENDS+= gweather.1:${PORTSDIR}/net/libgweather
60 CONFIGURE_ARGS+= --with-weather
61 PLIST_SUB+= WEATHER=""
62 .else
63 CONFIGURE_ARGS+= --without-weather
64 PLIST_SUB+= WEATHER="@comment "
65 .endif
66
67 EDS_BDB_MSG= "!!!WARNING!!!: Berkeley Database version is ${BDB_VER}. If this is an upgrade, you may experience problems if you or any other Evolution-data-server users were previously using BDB_VER 41."
68
69 pre-everything::
70 @if [ x"${BDB_VER}" != x"41" ]; then \
71 ${ECHO_MSG} ${EDS_BDB_MSG} | ${FMT} 75 79 ; \
72 fi
73
74 post-patch:
75 @${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g ; \
76 s|heimlibs=".*"|heimlibs="${KRB5_LIB}"|g ; \
77 s|-DGTK_DISABLE_DEPRECATED||g ; \
78 s|-Wl,--no-undefined||g ; \
79 s|-Wmissing-include-dirs||g' \
80 ${WRKSRC}/configure
81
82 .include <bsd.port.post.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H