2007-06-27 04:27:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2007/06/27 08:27:40 ajacoutot Exp $
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2007-06-27 04:27:40 -04:00
|
|
|
COMMENT= integrated email and PIM software for GNOME
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2007-06-02 07:32:11 -04:00
|
|
|
R= 2.10
|
|
|
|
DISTNAME= evolution-${R}.1
|
2007-06-27 04:27:40 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2005-09-08 00:52:12 -04:00
|
|
|
CATEGORIES= mail x11/gnome
|
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
|
|
|
|
2007-06-02 07:32:11 -04:00
|
|
|
SO_VERSION= 1.0
|
|
|
|
.for _lib in eabutil econduit econtacteditor econtactlisteditor efilterbar \
|
|
|
|
emiscwidgets eshell essmime etable etext etimezonedialog eutil evolution-a11y \
|
|
|
|
evolution-addressbook-a11y evolution-addressbook-importers \
|
|
|
|
evolution-calendar-a11y evolution-calendar-importers evolution-mail-importers \
|
|
|
|
evolution-smime evolution-widgets-a11y filter menus
|
|
|
|
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
|
|
|
.endfor
|
2005-12-28 03:02:16 -05:00
|
|
|
|
2002-05-31 07:49:40 -04:00
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-06-02 07:32:11 -04:00
|
|
|
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcursor Xdmcp \
|
|
|
|
Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 asn1 \
|
|
|
|
atk-1.0 audiofile bonobo-2 bonobo-activation bonoboui-2 \
|
|
|
|
c cairo com_err crypto dbus-1 dbus-glib-1 esd expat \
|
|
|
|
fontconfig freetype gailutil gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
|
|
glade-2.0 glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring \
|
|
|
|
gnomecanvas-2 gnomeprint-2-2 gnomeui-2 \
|
|
|
|
gnomevfs-2 gobject-2.0 gssapi gthread-2.0 gtk-x11-2.0 \
|
|
|
|
jpeg krb5 m nspr4 pango-1.0 pangocairo-1.0 pangoft2-1.0 plc4 \
|
|
|
|
plds4 png popt pthread sasl2 soup-2.2 ssl util xml2 z
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evolution/${R}/}
|
2005-09-08 00:52:12 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2004-08-10 05:14:47 -04:00
|
|
|
MODULES= devel/gettext
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2002-10-18 16:53:01 -04:00
|
|
|
BUILD_DEPENDS= :bison-*:devel/bison \
|
2005-09-08 00:52:12 -04:00
|
|
|
:scrollkeeper-*:textproc/scrollkeeper \
|
2007-06-18 13:39:18 -04:00
|
|
|
:gnome-doc-utils-*:x11/gnome/doc-utils: \
|
2005-09-08 00:52:12 -04:00
|
|
|
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
2007-06-02 07:32:11 -04:00
|
|
|
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
|
|
|
:desktop-file-utils-*:devel/desktop-file-utils \
|
|
|
|
:hicolor-icon-theme-*:x11/hicolor-icon-theme \
|
|
|
|
:control-center2-*:x11/gnome/controlcenter2:
|
|
|
|
LIB_DEPENDS= camel-1.2,camel-provider-1.2.>=4.1,ebook-1.2.>=4.1,ecal-1.2.>=2.1,edataserver-1.2.>=4.0,edataserverui-1.2.>=5.1,egroupwise-1.2.>=5.0,exchange-storage-1.2.>=3.0::databases/evolution-data-server \
|
|
|
|
gtkhtml-3.14.>=0.0::www/gtkhtml3 \
|
2006-08-03 09:09:09 -04:00
|
|
|
lber.>=7,ldap.>=7::databases/openldap \
|
2007-06-02 07:32:11 -04:00
|
|
|
gstreamer-0.8.>=5.0:gstreamer-0.8.*:devel/gstreamer \
|
|
|
|
gnomeprintui-2-2::x11/gnome/libgnomeprintui \
|
2007-06-27 04:27:40 -04:00
|
|
|
nss3.>=19,smime3.>=19,softokn3.>=19,ssl3.>=19:nss->=3.11.4p1:security/nss \
|
|
|
|
notify.>=2::devel/libnotify
|
2003-04-10 11:59:49 -04:00
|
|
|
|
2002-05-31 07:49:40 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2005-09-08 00:52:12 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2002-05-31 07:49:40 -04:00
|
|
|
YACC= bison
|
2005-09-08 00:52:12 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2007-06-02 07:32:11 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/evolution \
|
|
|
|
--enable-ipv6 \
|
|
|
|
--enable-nss=yes \
|
|
|
|
--enable-smime=yes \
|
|
|
|
--enable-default-binary \
|
|
|
|
--disable-pilot-conduits \
|
|
|
|
--disable-gtk-doc \
|
|
|
|
--with-openldap=${LOCALBASE} \
|
|
|
|
--with-sub-version=" OpenBSD/Ports" \
|
|
|
|
--with-krb5=/usr \
|
|
|
|
--with-krb5-includes=/usr/include/kerberosV
|
2005-09-08 00:52:12 -04:00
|
|
|
|
2002-05-31 07:49:40 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-06-02 07:32:11 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib/evolution/${R}:${LOCALBASE}/lib -Z"
|
2002-05-31 07:49:40 -04:00
|
|
|
|
2007-06-02 07:32:11 -04:00
|
|
|
SUBST_VARS= ${R}
|
2002-09-14 00:18:35 -04:00
|
|
|
|
2003-04-10 11:59:49 -04:00
|
|
|
post-patch:
|
|
|
|
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
|
|
|
|
|
2002-09-14 00:18:35 -04:00
|
|
|
pre-configure:
|
|
|
|
@if pkg dependencies check evolution-\*; then \
|
2003-01-03 16:53:07 -05:00
|
|
|
if pkg dependencies check ${DISTNAME}; then \
|
|
|
|
:; \
|
|
|
|
else \
|
|
|
|
echo 1>&2 "+-------------------"; \
|
2005-09-08 00:52:12 -04:00
|
|
|
echo 1>&2 "| Error: you must remove your existing evolution installation"; \
|
|
|
|
echo 1>&2 "| before compiling this version. To fully remove run"; \
|
2003-01-03 16:53:07 -05:00
|
|
|
echo 1>&2 "| these commands as user root"; \
|
|
|
|
echo 1>&2 "|"; \
|
|
|
|
echo 1>&2 "| pkg_delete -f `pkg_info -e 'evolution-*'`"; \
|
|
|
|
echo 1>&2 "|"; \
|
|
|
|
echo 1>&2 "+-------------------"; \
|
|
|
|
exit 1; \
|
|
|
|
fi; \
|
2002-09-14 00:18:35 -04:00
|
|
|
fi
|
|
|
|
|
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>
|