87 lines
2.9 KiB
Makefile
87 lines
2.9 KiB
Makefile
# $NetBSD: Makefile,v 1.154 2015/10/10 01:57:53 ryoon Exp $
|
|
|
|
DISTNAME= evolution-data-server-2.32.3
|
|
PKGREVISION= 37
|
|
CATEGORIES= mail gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evolution-data-server/2.32/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnome.org/projects/evolution/
|
|
COMMENT= Evolution data server
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
BDB_ACCEPTED= db4 db5
|
|
USE_TOOLS+= bison gmake intltool msgfmt pkg-config
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= YES
|
|
USE_PKGLOCALEDIR= YES
|
|
GNU_CONFIGURE= YES
|
|
|
|
PYTHON_FOR_BUILD_ONLY= YES
|
|
REPLACE_PYTHON= addressbook/libebook/gen-western-table.py
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ENV+= PTHREAD_LIB="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
|
|
|
|
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.6.2)
|
|
.include "../../devel/pthread-sem/buildlink3.mk"
|
|
LIBS+= -lsemaphore
|
|
.endif
|
|
.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M4.*) || ${OPSYS} == "Darwin")
|
|
BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined
|
|
.endif
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
CPPFLAGS+= -DBIND_8_COMPAT
|
|
.endif
|
|
|
|
.if !empty(PKGSRC_COMPILER:Msunpro)
|
|
CFLAGS.SunOS+= -D__FUNCTION__=__func__
|
|
.endif
|
|
|
|
CFLAGS.SunOS+= -D__EXTENSIONS__
|
|
|
|
CONFIGURE_ARGS+= --with-openldap
|
|
CONFIGURE_ARGS+= --with-libdb=${BDBBASE}
|
|
|
|
PKGCONFIG_OVERRIDE+= addressbook/libebook/libebook.pc.in
|
|
PKGCONFIG_OVERRIDE+= addressbook/libedata-book/libedata-book.pc.in
|
|
PKGCONFIG_OVERRIDE+= calendar/libecal/libecal.pc.in
|
|
PKGCONFIG_OVERRIDE+= calendar/libedata-cal/libedata-cal.pc.in
|
|
PKGCONFIG_OVERRIDE+= camel/camel.pc.in
|
|
PKGCONFIG_OVERRIDE+= camel/camel-provider.pc.in
|
|
PKGCONFIG_OVERRIDE+= libedataserver/libedataserver.pc.in
|
|
PKGCONFIG_OVERRIDE+= libedataserverui/libedataserverui.pc.in
|
|
PKGCONFIG_OVERRIDE+= servers/groupwise/libegroupwise.pc.in
|
|
PKGCONFIG_OVERRIDE+= evolution-data-server.pc.in
|
|
|
|
BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE}
|
|
BUILDLINK_TRANSFORM+= rm:-ldl
|
|
|
|
.include "../../devel/gperf/buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.include "../../devel/GConf/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/libglade/buildlink3.mk"
|
|
.include "../../devel/libgweather/buildlink3.mk"
|
|
.include "../../devel/nss/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../net/libsoup/buildlink3.mk"
|
|
.include "../../net/ORBit2/buildlink3.mk"
|
|
.include "../../net/libgdata0.6/buildlink3.mk"
|
|
.include "../../security/libgnome-keyring/buildlink3.mk"
|
|
.include "../../textproc/gtk-doc/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libical+= libical>=0.43
|
|
.include "../../time/libical/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../mk/bdb.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|