Makefile 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # $OpenBSD: Makefile,v 1.279 2017/05/30 12:32:59 ajacoutot Exp $
  2. COMMENT= integrated email and PIM software for GNOME
  3. GNOME_PROJECT= evolution
  4. GNOME_VERSION= 3.24.2
  5. REVISION= 0
  6. CATEGORIES= mail
  7. MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
  8. Antoine Jacoutot <ajacoutot@openbsd.org>
  9. SO_VERSION= 13.0 # 0.0
  10. .for _lib in \
  11. eabutil econtacteditor econtactlisteditor email-engine essmime \
  12. evolution-addressbook-importers evolution-calendar-importers \
  13. evolution-calendar evolution-mail-composer evolution-mail-formatter \
  14. evolution-mail-importers evolution-mail evolution-shell evolution-smime \
  15. evolution-util gnomecanvas
  16. SHARED_LIBS += ${_lib} ${SO_VERSION}
  17. .endfor
  18. # GPLv2+ - LGPLv2+ - OpenLDAP license - GFDL 1.1
  19. PERMIT_PACKAGE_CDROM= Yes
  20. WANTLIB += atk-1.0 c cairo cairo-gobject camel-1.2 canberra canberra-gtk3
  21. WANTLIB += cryptui ebook-1.2 ebook-contacts-1.2 ecal-1.2 edataserver-1.2
  22. WANTLIB += edataserverui-1.2 enchant gailutil-3 gcr-base-3 gcr-ui-3
  23. WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gnome-autoar-0
  24. WANTLIB += gnome-autoar-gtk-0 gnome-desktop-3 gobject-2.0 gtk-3
  25. WANTLIB += gtkspell3-3 gweather-3 ical icalvcal intl ldap
  26. WANTLIB += m notify nspr4 nss3 pango-1.0 pangocairo-1.0 pst pthread
  27. WANTLIB += secret-1 smime3 soup-2.4 sqlite3 webkit2gtk-4.0 xml2
  28. MODULES= devel/cmake \
  29. devel/dconf \
  30. x11/gnome
  31. BUILD_DEPENDS= devel/gsettings-desktop-schemas
  32. LIB_DEPENDS= audio/libcanberra,-gtk3 \
  33. converters/libpst \
  34. databases/evolution-data-server \
  35. devel/libnotify \
  36. textproc/gtkspell3 \
  37. x11/gnome/autoar \
  38. x11/gnome/desktop \
  39. x11/gnome/libcryptui
  40. RUN_DEPENDS= devel/gsettings-desktop-schemas
  41. # module-text-highlight.so
  42. BUILD_DEPENDS += textproc/highlight
  43. RUN_DEPENDS += textproc/highlight
  44. MODGNOME_TOOLS= desktop-file-utils gtk-update-icon-cache yelp
  45. # without --as-needed, evolution takes ages to start
  46. MODGNOME_LDFLAGS= -L${X11BASE}/lib -Wl,--as-needed
  47. CONFIGURE_ARGS= -DWITH_BOGOFILTER="${LOCALBASE}/bin/bogofilter" \
  48. -DWITH_SA_LEARN="${LOCALBASE}/bin/sa-learn" \
  49. -DWITH_SPAMASSASSIN="${LOCALBASE}/bin/spamassassin" \
  50. -DWITH_OPENLDAP=${LOCALBASE} \
  51. -DVERSION_SUBSTRING=" (OpenBSD Ports)" \
  52. -DCMAKE_C_FLAGS="-I${LOCALBASE}/include"
  53. # needs libytnef
  54. CONFIGURE_ARGS += -DENABLE_YTNEF=OFF
  55. post-install:
  56. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/evolution
  57. mv ${WRKINST}/etc/xdg ${PREFIX}/share/examples/evolution/
  58. .include <bsd.port.mk>