blob: f61551bacacd2791c9fd5cc561931cfa6706e6d6 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
# $NetBSD: Makefile,v 1.144 2009/02/18 14:08:26 drochner Exp $
DISTNAME= evolution-2.24.4
CATEGORIES= mail time gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evolution/2.24/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.gnome.org/projects/evolution/
COMMENT= GNOME mailer, calendar, contact manager, and communications tool
PKG_DESTDIR_SUPPORT= user-destdir
.include "options.mk"
GNU_CONFIGURE= YES
USE_DIRS+= gnome2-1.5
USE_TOOLS+= bison gmake intltool msgfmt pkg-config
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
REPLACE_PERL+= addressbook/tools/csv2vcard
REPLACE_PERL+= addressbook/tools/evolution-addressbook-clean
REPLACE_PERL+= addressbook/tools/evolution-addressbook-clean.in
CPPFLAGS+= -I/usr/include/gssapi
CPPFLAGS+= -I/usr/include/krb5
CONFIGURE_ARGS+= --with-openldap
CONFIGURE_ARGS+= --without-static-ldap
CONFIGURE_ARGS+= --enable-pilot-conduits=no
CONFIGURE_ARGS+= --with-krb4=/usr
CONFIGURE_ARGS+= --with-krb5=/usr
.if defined(PKGREVISION)
CONFIGURE_ARGS+= --with-sub-version=nb${PKGREVISION}
.endif
PKGCONFIG_OVERRIDE= evolution-plugin.pc.in
PKGCONFIG_OVERRIDE+= evolution-shell.pc.in
GCONF_SCHEMAS+= apps-evolution-attachment-reminder.schemas
GCONF_SCHEMAS+= apps-evolution-mail-notification.schemas
GCONF_SCHEMAS+= apps-evolution-mail-prompts-checkdefault.schemas
GCONF_SCHEMAS+= apps_evolution_addressbook.schemas
GCONF_SCHEMAS+= apps_evolution_calendar.schemas
GCONF_SCHEMAS+= apps_evolution_shell.schemas
GCONF_SCHEMAS+= bogo-junk-plugin.schemas
GCONF_SCHEMAS+= evolution-mail.schemas
BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED
BUILDLINK_TRANSFORM+= rm:-DGTK_DISABLE_DEPRECATED
# The gettext version in pkgsrc cannot handle the .po files, so
# we strip out usage of the newer features (context and fuzzy matches)
post-patch:
for f in ${WRKSRC}/po/*.po ; do \
mv $$f $$f.original ; \
${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \
done
.if !exists(/usr/include/semaphore.h)
LDFLAGS+= -lsemaphore
.include "../../devel/pthread-sem/buildlink3.mk"
.endif
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../databases/shared-mime-info/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/atk/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libbonobo+= libbonobo>=2.20.3
.include "../../devel/libbonobo/buildlink3.mk"
BUILDLINK_API_DEPENDS.libbonoboui+= libbonoboui>=2.4.2
.include "../../devel/libbonoboui/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../devel/libgnome/buildlink3.mk"
BUILDLINK_API_DEPENDS.gnome-icon-theme+= gnome-icon-theme>=2.19.91
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/libgnomecanvas/buildlink3.mk"
BUILDLINK_API_DEPENDS.evolution-data-server+= evolution-data-server>=2.23.91
.include "../../mail/evolution-data-server/buildlink3.mk"
.include "../../net/ORBit2/buildlink3.mk"
.include "../../net/libsoup24/buildlink3.mk"
#.include "../../print/libgnomeprint/buildlink3.mk"
#.include "../../print/libgnomeprintui/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
#.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../www/gtkhtml314/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|