2013-06-04 17:47:06 +02:00
|
|
|
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
|
2003-12-25 20:45:11 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-05-16 03:31:10 +02:00
|
|
|
PORTNAME= mail-notification
|
2008-07-14 04:40:22 +02:00
|
|
|
DISTVERSION= 5.4
|
The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.
Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.
Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.
Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.
Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics
Thanks to: all testers, bdrewery and the FreeBSD x11@ team
exp-run by: bdrewery [1]
PR: ports/187602 [1]
Approved by: portmgr (bdrewery), core (jhb)
2014-04-16 20:28:47 +02:00
|
|
|
PORTREVISION= 12
|
2006-05-16 03:31:10 +02:00
|
|
|
CATEGORIES= mail ipv6
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
2005-08-10 17:28:57 +02:00
|
|
|
MASTER_SITE_SUBDIR= mailnotify
|
2003-12-25 20:45:11 +01:00
|
|
|
|
2008-07-14 04:40:22 +02:00
|
|
|
MAINTAINER= mwisnicki+freebsd@gmail.com
|
2006-05-16 03:31:10 +02:00
|
|
|
COMMENT= A mail notification for freedesktop.org-compliant system trays
|
2003-12-25 20:45:11 +01:00
|
|
|
|
2014-04-20 22:10:43 +02:00
|
|
|
BROKEN= Violates stagedir and fails to package
|
|
|
|
|
2014-03-10 09:35:28 +01:00
|
|
|
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
|
|
|
|
libgnome-keyring.so:${PORTSDIR}/security/gnome-keyring \
|
|
|
|
libnotify.so:${PORTSDIR}/devel/libnotify
|
2006-11-27 23:44:53 +01:00
|
|
|
|
2008-02-20 23:50:17 +01:00
|
|
|
USE_BZIP2= yes
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
2008-02-20 23:50:17 +01:00
|
|
|
USE_LDCONFIG= yes
|
2008-07-14 04:40:22 +02:00
|
|
|
USE_GNOME= gconf2 gnomeprefix gnomevfs2 libglade2 libgnomeui libxml2
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2014-03-10 09:35:28 +01:00
|
|
|
JB_CONF_ARGS= cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}" prefix="${STAGEDIR}${PREFIX}"
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ENV= jb_cppflags="${CPPFLAGS}" jb_ldflags="${LDFLAGS}"
|
2006-05-16 03:31:10 +02:00
|
|
|
GCONF_SCHEMAS= mail-notification.schemas
|
|
|
|
INSTALLS_OMF= yes
|
2006-11-27 23:44:53 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2003-12-25 20:45:11 +01:00
|
|
|
|
2013-06-04 17:47:06 +02:00
|
|
|
OPTIONS_DEFINE= EVOLUTION GMAIL HOTMAIL IMAP MAILDIR MBOX MH MOZILLA \
|
2014-03-10 09:35:28 +01:00
|
|
|
POP3 SASL SSL SYLPHEED
|
2013-06-04 17:47:06 +02:00
|
|
|
OPTIONS_DEFAULT= GMAIL HOTMAIL IMAP MAILDIR MBOX MH MOZILLA \
|
2014-03-10 09:35:28 +01:00
|
|
|
POP3 SASL SSL SYLPHEED
|
2013-06-04 17:47:06 +02:00
|
|
|
EVOLUTION_DESC= Evolution support
|
|
|
|
GMAIL_DESC= Gmail support
|
|
|
|
HOTMAIL_DESC= Windows Live Hotmail support
|
|
|
|
IMAP_DESC= IMAP support
|
|
|
|
MAILDIR_DESC= Maildir support
|
|
|
|
MBOX_DESC= mbox support
|
|
|
|
MH_DESC= MH support
|
|
|
|
MOZILLA_DESC= Mozilla products support
|
|
|
|
POP3_DESC= POP3 support
|
|
|
|
SYLPHEED_DESC= Sylpheed support
|
2004-02-01 13:43:40 +01:00
|
|
|
|
2011-06-23 14:07:38 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2003-12-25 20:45:11 +01:00
|
|
|
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MMBOX}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= mbox=no
|
2003-12-25 20:45:11 +01:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MMH}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= mh=no
|
2003-12-25 20:45:11 +01:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MMAILDIR}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= maildir=no
|
2003-12-25 20:45:11 +01:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MPOP3}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= pop3=no
|
2004-08-17 09:26:23 +02:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MIMAP}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= imap=no
|
2004-08-17 09:26:23 +02:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MPOP3} && ! ${PORT_OPTIONS:MIMAP}
|
2004-08-17 09:26:23 +02:00
|
|
|
# only POP3 and IMAP use SSL and SASL
|
2006-05-16 03:31:10 +02:00
|
|
|
WITHOUT_SSL= yes
|
|
|
|
WITHOUT_SASL= yes
|
2003-12-25 20:45:11 +01:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MGMAIL}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= gmail=no
|
2006-05-16 03:31:10 +02:00
|
|
|
PLIST_SUB+= GMAIL="@comment "
|
2005-08-12 01:10:14 +02:00
|
|
|
.else
|
2006-05-16 03:31:10 +02:00
|
|
|
PLIST_SUB+= GMAIL=""
|
2004-11-13 00:19:03 +01:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MHOTMAIL}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= hotmail=no
|
|
|
|
PLIST_SUB+= HOTMAIL="@comment "
|
|
|
|
.else
|
|
|
|
RUN_DEPENDS+= getlive:${PORTSDIR}/mail/getlive
|
|
|
|
PLIST_SUB+= HOTMAIL=""
|
|
|
|
.endif
|
|
|
|
JB_CONF_ARGS+= yahoo=no
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MEVOLUTION}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= evolution=no
|
2006-10-23 23:42:31 +02:00
|
|
|
PLIST_SUB+= EVOLUTION="@comment "
|
2004-07-22 03:02:07 +02:00
|
|
|
.else
|
2010-02-16 11:43:55 +01:00
|
|
|
EVO_VERSION!= make -C ${PORTSDIR}/mail/evolution -V EVO_VERSION
|
2008-02-20 23:50:17 +01:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin.pc:${PORTSDIR}/mail/evolution
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin.pc:${PORTSDIR}/mail/evolution
|
2011-06-23 14:07:38 +02:00
|
|
|
USE_GNOME+= gtkhtml3
|
2006-10-23 23:42:31 +02:00
|
|
|
PLIST_SUB+= EVOLUTION="" EVO_VERSION=${EVO_VERSION}
|
2005-08-10 00:04:26 +02:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MMOZILLA}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= mozilla=no
|
2006-11-27 23:44:53 +01:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MSYLPHEED}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= sylpheed=no
|
2005-03-06 23:52:22 +01:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ${PORT_OPTIONS:MMBOX} \
|
|
|
|
|| ${PORT_OPTIONS:MMH} \
|
|
|
|
|| ${PORT_OPTIONS:MMAILDIR} \
|
|
|
|
|| ${PORT_OPTIONS:MPOP3} \
|
|
|
|
|| ${PORT_OPTIONS:MIMAP} \
|
|
|
|
|| ${PORT_OPTIONS:MMOZILLA} \
|
|
|
|
|| ${PORT_OPTIONS:MSYLPHEED} \
|
2014-03-10 09:35:28 +01:00
|
|
|
|| ${PORT_OPTIONS:MHOTMAIL}
|
|
|
|
LIB_DEPENDS+= libgmime-2.0.so:${PORTSDIR}/mail/gmime2
|
2004-07-22 03:02:07 +02:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MSSL}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= ssl=no
|
2004-08-17 09:26:23 +02:00
|
|
|
.else
|
2011-06-23 14:07:38 +02:00
|
|
|
USE_OPENSSL= yes
|
2004-08-17 09:26:23 +02:00
|
|
|
.endif
|
2013-06-04 17:47:06 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MSASL}
|
2008-07-14 04:40:22 +02:00
|
|
|
JB_CONF_ARGS+= sasl=no
|
2004-08-17 09:26:23 +02:00
|
|
|
.else
|
2014-03-10 09:35:28 +01:00
|
|
|
LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
|
2004-08-17 09:26:23 +02:00
|
|
|
.endif
|
|
|
|
|
2008-07-16 07:48:18 +02:00
|
|
|
post-patch:
|
2013-08-19 20:46:44 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/jb ${WRKSRC}/jbsrc/jb.c
|
2008-07-16 07:48:18 +02:00
|
|
|
|
2008-07-14 04:40:22 +02:00
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC} && ${JB_CONF_ENV} ./jb configure ${JB_CONF_ARGS}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ./jb build
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ./jb install
|
|
|
|
|
2011-06-23 14:07:38 +02:00
|
|
|
.include <bsd.port.mk>
|