69 lines
2.4 KiB
Makefile
69 lines
2.4 KiB
Makefile
# $NetBSD: Makefile,v 1.197 2020/11/08 00:56:53 mef Exp $
|
|
|
|
DISTNAME= evolution-data-server-3.35.1
|
|
PKGREVISION= 12
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evolution-data-server/${PKGVERSION_NOREV:R}/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://wiki.gnome.org/Apps/Evolution/
|
|
COMMENT= Libraries and services for storing addressbooks and calendars
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= pkg-config perl:run
|
|
USE_TOOLS+= intltool msgfmt msgmerge xgettext
|
|
USE_LANGUAGES= c c++14
|
|
|
|
# C++14
|
|
GCC_REQD+= 5
|
|
|
|
TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
|
|
|
|
CMAKE_ARGS+= -DWITH_LIBDB=OFF
|
|
CMAKE_ARGS+= -DENABLE_GOA=OFF
|
|
CMAKE_ARGS+= -DENABLE_WEATHER=OFF
|
|
CMAKE_ARGS+= -DENABLE_OAUTH2=OFF
|
|
|
|
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
|
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/evolution-data-server
|
|
|
|
REPLACE_INTERPRETER+= perl
|
|
REPLACE.perl.old= @PERL@ -w
|
|
REPLACE.perl.new= ${PREFIX}/bin/perl
|
|
REPLACE_FILES.perl= src/tools/addressbook-export/csv2vcard.in
|
|
|
|
PKGCONFIG_OVERRIDE+= evolution-data-server.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/addressbook/libebook-contacts/libebook-contacts.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/addressbook/libebook/libebook.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/addressbook/libedata-book/libedata-book.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/calendar/libecal/libecal.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/calendar/libedata-cal/libedata-cal.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/camel/camel.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/libebackend/libebackend.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/libedataserver/libedataserver.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/libedataserverui/libedataserverui.pc.in
|
|
|
|
# "gettext version 0.18.3+ required, but version '0.16.1' found instead."
|
|
_TOOLS_USE_PKGSRC.msgfmt= yes
|
|
_TOOLS_USE_PKGSRC.msgmerge= yes
|
|
_TOOLS_USE_PKGSRC.xgettext= yes
|
|
|
|
.include "../../audio/libcanberra/buildlink3.mk"
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.include "../../devel/nspr/buildlink3.mk"
|
|
.include "../../devel/nss/buildlink3.mk"
|
|
.include "../../devel/gperf/buildlink3.mk"
|
|
.include "../../net/libgdata/buildlink3.mk"
|
|
.include "../../net/libsoup/buildlink3.mk"
|
|
.include "../../security/gcr/buildlink3.mk"
|
|
.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../security/libsecret/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../time/libical/buildlink3.mk"
|
|
.include "../../x11/gtk3/buildlink3.mk"
|
|
.include "../../mk/krb5.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|