# $NetBSD: Makefile,v 1.141 2008/11/24 21:05:57 wiz Exp $ DISTNAME= evolution-2.24.2 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"