summaryrefslogtreecommitdiff
path: root/mail/evolution/Makefile
blob: 3000ba671077ce6ae1f9ebaad3efad61ee2269fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# $NetBSD: Makefile,v 1.7 2001/09/27 23:18:21 jlam Exp $

DISTNAME=		evolution-0.13
CATEGORIES=		mail time gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=unstable/sources/evolution/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		rh@netbsd.org
HOMEPAGE=		http://www.ximian.com/products/ximian_evolution/
COMMENT=		GNOME mailer, calendar, contact manager, and communications tool

BUILD_DEPENDS+=		automake>=1.4:../../devel/automake

DEPENDS+=		bison-[0-9]*:../../devel/bison
DEPENDS+=		db3-2.9:../../databases/db3
DEPENDS+=		gal>=0.12:../../devel/gal
DEPENDS+=		bonobo>=1.0.7:../../devel/bonobo
DEPENDS+=		bonobo-conf>=0.11:../../devel/bonobo-conf
DEPENDS+=		gtkhtml>=0.12.0:../../www/gtkhtml
DEPENDS+=		gnome-vfs>=1.0.1:../../sysutils/gnome-vfs
DEPENDS+=		libunicode>=0.4:../../textproc/libunicode
DEPENDS+=		oaf>=0.6.5:../../devel/oaf
DEPENDS+=		ORBit>=0.5.8:../../net/ORBit
DEPENDS+=		gnome-print>=0.29:../../print/gnome-print
DEPENDS+=		gdk-pixbuf>=0.9.0:../../graphics/gdk-pixbuf
BUILD_USES_MSGFMT=	YES

GNU_CONFIGURE=		YES
USE_GMAKE=		YES
USE_X11BASE=		YES
USE_LIBINTL=		YES
USE_LIBTOOL=		YES
YACC=			${PREFIX}/bin/bison -y

LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig
CONFIGURE_ARGS+=	--enable-ldap=no
CONFIGURE_ARGS+=	--with-db3-includes=${LOCALBASE}/include/db3
CONFIGURE_ARGS+=	--with-db3-libs=${LOCALBASE}/lib
CONFIGURE_ENV+=		CFLAGS="-D_POSIX_THREAD_SYSCALL_SOFT=1 ${CFLAGS}"
CPPFLAGS+=		-D_POSIX_THREAD_SYSCALL_SOFT=1

pre-configure:
	(cd ${WRKSRC} && ${LOCALBASE}/bin/automake)

.include "../../security/openssl/buildlink.mk"
.include "../../databases/db3/buildlink.mk"
.include "../../mk/bsd.pkg.mk"