2011-07-03 13:14:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.125 2011/07/03 17:14:23 ajacoutot Exp $
|
2009-03-22 12:00:28 -04:00
|
|
|
|
|
|
|
COMMENT-main= integrated email and PIM software for GNOME
|
|
|
|
COMMENT-plugins= additionnal plugins for evolution
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2007-10-28 16:56:46 -04:00
|
|
|
GNOME_PROJECT= evolution
|
2011-04-22 03:39:37 -04:00
|
|
|
GNOME_VERSION= 2.32.3
|
2009-01-20 18:13:30 -05:00
|
|
|
|
2011-04-21 03:04:56 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
PKGNAME-plugins= evolution-plugins-${GNOME_VERSION}
|
|
|
|
|
2011-07-03 13:14:23 -04:00
|
|
|
REVISION-main= 0
|
|
|
|
|
2009-11-11 09:23:05 -05:00
|
|
|
# Only get the first x.y which is needed in the PLIST.
|
|
|
|
# NOTE: when major version changes, increment EVO_VERSION accordingly
|
2009-11-14 11:33:16 -05:00
|
|
|
# and bump:
|
2009-11-17 18:31:13 -05:00
|
|
|
# mail/evolution-plugin-rss
|
|
|
|
# mail/evolution-exchange
|
2010-04-09 05:02:35 -04:00
|
|
|
# x11/gnome/tracker
|
2009-11-11 09:23:05 -05:00
|
|
|
R= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
|
|
|
|
SUBST_VARS= R
|
|
|
|
|
2009-03-22 12:00:28 -04:00
|
|
|
CATEGORIES= mail
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2005-07-27 10:06:31 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org/projects/evolution/
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2009-02-15 12:33:52 -05:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2010-04-22 12:30:02 -04:00
|
|
|
SO_VERSION= 6.0
|
2010-05-02 10:05:58 -04:00
|
|
|
|
2010-09-30 04:01:26 -04:00
|
|
|
.for _lib in \
|
|
|
|
art_lgpl gnomecanvas eutil evolution-a11y filter emiscwidgets etext \
|
|
|
|
etimezonedialog etable menus eshell essmime evolution-smime emformat \
|
|
|
|
eabutil evolution-addressbook-importers econtacteditor \
|
|
|
|
econtactlisteditor composer evolution-mail evolution-mail-importers \
|
2010-10-23 09:01:26 -04:00
|
|
|
evolution-calendar evolution-mail-settings evolution-calendar-importers
|
2007-06-02 07:32:11 -04:00
|
|
|
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
|
|
|
.endfor
|
2005-12-28 03:02:16 -05:00
|
|
|
|
2008-11-21 12:28:07 -05:00
|
|
|
# LGPLv2+
|
2002-05-31 07:49:40 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-21 11:18:15 -05:00
|
|
|
|
2010-04-22 12:30:02 -04:00
|
|
|
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
|
2010-09-30 04:01:26 -04:00
|
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender asn1
|
2010-04-22 12:30:02 -04:00
|
|
|
WANTLIB += atk-1.0 c cairo com_err crypto dbus-1 dbus-glib-1
|
2010-10-23 09:01:26 -04:00
|
|
|
WANTLIB += enchant execinfo expat fontconfig freetype
|
2010-04-22 12:30:02 -04:00
|
|
|
WANTLIB += gailutil gcrypt gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += glib-2.0 gmodule-2.0 gnome-keyring canberra
|
2011-04-21 03:04:56 -04:00
|
|
|
WANTLIB += gobject-2.0 gpg-error gssapi gthread-2.0 gtk-x11-2.0
|
2010-09-30 04:01:26 -04:00
|
|
|
WANTLIB += ical krb5 m nspr4 pango-1.0 camel-1.2 camel-provider-1.2
|
2010-04-22 12:30:02 -04:00
|
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 plc4 plds4
|
|
|
|
WANTLIB += png pthread pthread-stubs sqlite3 startup-notification-1
|
2011-04-21 03:04:56 -04:00
|
|
|
WANTLIB += stdc++ xcb xcb-atom xcb-aux xcb-event xcb-render
|
2010-10-23 09:01:26 -04:00
|
|
|
WANTLIB += xml2 z gtkhtml-3.14 gtkhtml-editor-3.14
|
2011-04-21 03:04:56 -04:00
|
|
|
WANTLIB += gdata soup-gnome-2.4 gdata ebook-1.2
|
2010-09-30 04:01:26 -04:00
|
|
|
WANTLIB += ecal-1.2 edataserver-1.2 edataserverui-1.2 unique-1.0
|
|
|
|
WANTLIB += gnome-desktop-2 nss3 smime3 ssl3 notify soup-2.4
|
2010-11-16 03:55:49 -05:00
|
|
|
WANTLIB += GL Xxf86vm db drm ebackend-1.2 egroupwise-1.2
|
|
|
|
WANTLIB += icalss icalvcal nssutil3 softokn3 xcb-shm
|
2010-09-30 04:01:26 -04:00
|
|
|
|
2010-11-16 03:55:49 -05:00
|
|
|
WANTLIB-main += ${WANTLIB} vorbisfile canberra-gtk
|
2010-09-30 04:01:26 -04:00
|
|
|
WANTLIB-main += gweather icalss icalvcal ogg db gtkimageview
|
2011-01-12 03:05:11 -05:00
|
|
|
WANTLIB-main += icalss icalvcal ldap-2.4 ltdl ogg pst softokn3
|
2010-11-16 03:55:49 -05:00
|
|
|
WANTLIB-main += ebackend-1.2 egroupwise-1.2 vorbis
|
2011-04-13 02:47:42 -04:00
|
|
|
WANTLIB-main += ltdl ogg vorbis vorbisfile
|
2010-09-30 04:01:26 -04:00
|
|
|
|
|
|
|
WANTLIB-plugins += ${WANTLIB} gstreamer-0.10
|
|
|
|
WANTLIB-plugins += lib/evolution/${R}/composer lib/evolution/${R}/emformat
|
|
|
|
WANTLIB-plugins += lib/evolution/${R}/eshell lib/evolution/${R}/evolution-calendar
|
|
|
|
WANTLIB-plugins += lib/evolution/${R}/evolution-mail lib/evolution/${R}/emiscwidgets
|
2010-11-16 03:55:49 -05:00
|
|
|
WANTLIB-plugins += lib/evolution/${R}/eutil lib/evolution/${R}/art_lgpl
|
2010-10-23 09:01:26 -04:00
|
|
|
WANTLIB-plugins += lib/evolution/${R}/etable lib/evolution/${R}/etext
|
2010-11-16 03:55:49 -05:00
|
|
|
WANTLIB-plugins += lib/evolution/${R}/evolution-a11y lib/evolution/${R}/menus
|
2010-10-23 09:01:26 -04:00
|
|
|
WANTLIB-plugins += lib/evolution/${R}/filter lib/evolution/${R}/gnomecanvas
|
2009-03-22 12:00:28 -04:00
|
|
|
|
|
|
|
MULTI_PACKAGES= -main -plugins
|
2007-06-02 07:32:11 -04:00
|
|
|
|
2007-10-28 16:56:46 -04:00
|
|
|
MODULES= devel/gettext \
|
2009-06-07 01:59:47 -04:00
|
|
|
x11/gnome \
|
|
|
|
devel/gconf2
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
BUILD_DEPENDS= devel/bison \
|
|
|
|
misc/shared-mime-info \
|
|
|
|
x11/gnome/icon-theme \
|
|
|
|
devel/iso-codes
|
2009-03-22 12:00:28 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS-main= ${RUN_DEPENDS} \
|
2010-11-19 02:23:05 -05:00
|
|
|
x11/hicolor-icon-theme \
|
|
|
|
x11/gnome/icon-theme
|
2009-06-10 09:31:56 -04:00
|
|
|
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
2010-11-19 02:23:05 -05:00
|
|
|
devel/libunique \
|
|
|
|
converters/libpst \
|
2011-03-07 14:36:17 -05:00
|
|
|
databases/evolution-data-server>=2.32.2 \
|
2010-11-19 02:23:05 -05:00
|
|
|
databases/openldap \
|
2011-04-21 03:04:56 -04:00
|
|
|
devel/libnotify>=0.7.2 \
|
2010-11-19 02:23:05 -05:00
|
|
|
devel/libsoup \
|
|
|
|
graphics/gtkimageview \
|
|
|
|
security/nss \
|
|
|
|
x11/gnome/desktop \
|
|
|
|
www/gtkhtml3 \
|
2011-04-13 02:47:42 -04:00
|
|
|
audio/libcanberra,-gtk
|
2009-03-22 12:00:28 -04:00
|
|
|
|
2009-06-10 09:31:56 -04:00
|
|
|
LIB_DEPENDS-plugins= ${LIB_DEPENDS} \
|
2010-11-19 02:23:05 -05:00
|
|
|
multimedia/gstreamer-0.10/core \
|
2011-04-21 03:04:56 -04:00
|
|
|
mail/evolution,-main>=${GNOME_VERSION}
|
2009-03-22 12:00:28 -04:00
|
|
|
# needed for the audio-inline plugin
|
2010-11-19 02:23:05 -05:00
|
|
|
RUN_DEPENDS-plugins= multimedia/gstreamer-0.10/plugins-good
|
2003-04-10 11:59:49 -04:00
|
|
|
|
2008-05-26 12:29:26 -04:00
|
|
|
MODGNOME_HELP_FILES= Yes
|
2007-10-28 16:56:46 -04:00
|
|
|
DESKTOP_FILES= Yes
|
2009-06-07 01:59:47 -04:00
|
|
|
MODGCONF2_SCHEMAS_DIR= evolution
|
2009-03-22 12:00:28 -04:00
|
|
|
|
2002-05-31 07:49:40 -04:00
|
|
|
YACC= bison
|
2009-03-22 12:00:28 -04:00
|
|
|
|
2005-09-08 00:52:12 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-06-02 07:32:11 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2010-09-30 04:01:26 -04:00
|
|
|
--disable-gtk-doc \
|
2007-06-02 07:32:11 -04:00
|
|
|
--enable-nss=yes \
|
|
|
|
--enable-smime=yes \
|
2009-03-06 05:42:48 -05:00
|
|
|
--enable-plugins=all \
|
2008-11-21 12:28:07 -05:00
|
|
|
--disable-mono \
|
|
|
|
--with-openldap="${LOCALBASE}" \
|
2007-06-02 07:32:11 -04:00
|
|
|
--with-sub-version=" OpenBSD/Ports" \
|
|
|
|
--with-krb5=/usr \
|
2009-10-13 18:07:04 -04:00
|
|
|
--with-krb5-includes=/usr/include/kerberosV \
|
|
|
|
--disable-nm \
|
|
|
|
--disable-python
|
2002-05-31 07:49:40 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2010-10-23 12:30:01 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib \
|
|
|
|
-Wl,-rpath,${TRUEPREFIX}/lib/evolution/${R}:${TRUEPREFIX}/lib \
|
|
|
|
-Wl,--as-needed" \
|
2010-04-22 12:30:02 -04:00
|
|
|
PTHREAD_LIB="-pthread"
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2010-04-26 15:52:25 -04:00
|
|
|
FAKE_FLAGS= autostartdir=${PREFIX}/share/examples/evolution/xdg/autostart
|
|
|
|
|
2009-03-22 12:00:28 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/plugins/bogo-junk-plugin/bf-junk-filter.c \
|
|
|
|
${WRKSRC}/plugins/sa-junk-plugin/em-junk-filter.c
|
|
|
|
|
2010-10-24 07:44:37 -04:00
|
|
|
# needed to prevent lazy bindings failures on pthreads(3) functions
|
|
|
|
post-configure:
|
|
|
|
perl -pi -e 's|-Wl,--as-needed||g' \
|
|
|
|
${WRKBUILD}/{shell,calendar/gui/alarm-notify,plugins/backup-restore}/Makefile
|
|
|
|
|
2002-05-31 07:49:40 -04:00
|
|
|
post-install:
|
2007-06-02 07:32:11 -04:00
|
|
|
find ${PREFIX}/share/evolution/${R}/default -perm 444 -exec chmod 644 {} \;
|
2002-05-31 07:49:40 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|