2012-10-02 19:10:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.69 2012/10/02 17:11:29 tron Exp $
|
2004-10-02 16:04:42 +02:00
|
|
|
#
|
|
|
|
|
2009-11-10 21:33:38 +01:00
|
|
|
DISTNAME= mail-notification-5.4
|
2012-10-02 19:10:28 +02:00
|
|
|
PKGREVISION= 18
|
2004-10-02 16:04:42 +02:00
|
|
|
CATEGORIES= mail gnome
|
|
|
|
MASTER_SITES= http://savannah.nongnu.org/download/mailnotify/
|
2008-03-06 15:53:47 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-10-02 16:04:42 +02:00
|
|
|
|
Take maintainership (at suggestion of previous maintainer, jmmv@).
Update to 2.0 (minor changes and bugfixes omitted):
2.0 August 9, 2005
* Core changes:
* Evolution support has been added [not in pkgsrc]
* Mailboxes can now be assigned a custom name
* For greater flexibility, mailboxes configuration is
now stored in ~/.gnome2/mail-notification/mailboxes.xml
(previously, it was stored in the GConf database)
* If a mailbox requires authentication and the
necessary credentials are not provided in the
mailbox properties dialog, Mail Notification now
lets GNOME prompt the user for the credentials
* The Mail Notification item is now also listed in the
GNOME >= 2.10 Preferences menu
* The third-party libegg code has been updated
* mbox, MH, Maildir and Sylpheed changes:
* Immediate notification did not work properly with
fast kernel notifiers (kqueue, inotify, dnotify,
...): fixed
* Unseekable files are now supported
* The location of the system mailbox is now resolved
at runtime rather than when the mailbox is added
(eases sharing the Mail Notification settings across
multiple computers)
* mbox changes:
* When immediate notification is not available, the
mailbox is now also checked when its size or ctime
changes (previously, it was only checked if its
mtime had changed)
* Sylpheed changes:
* Mail Notification now tries to avoid race conditions
which may occur while Sylpheed is being used
* POP3 and IMAP changes:
* When the authentication mechanism option is set to
"autodetect", Mail Notification will now try to
authenticate using each server-supported SASL
mechanism
* POP3 changes:
* The TOP optional command is now supported. This
solves some issues with POP3 servers (for instance,
pop.gmail.com) which incorrectly archive mails that
have been accessed using the RETR command.
* IMAP changes:
* If, while idling, the server abruptly drops the
connection, Mail Notification now reconnects rather
than considering it an error
* When idling, Mail Notification now only wakes up if
it receives a response indicating that the mailbox
might have changed
* By default, Mail Notification now avoids using the
IDLE extension if the remote server software is
known to have a broken IDLE implementation
* UTF-8 mailbox names are now converted to modified
UTF-7, as required by RFC 3501
* Gmail changes:
* Functionality has been restored after the Gmail web
site was modified; to prevent future disruptions and
simplify the source code, the Gmail Atom feed
(https://mail.google.com/mail/feed/atom) is now used
1.1 March 6, 2005
* The mail summary dialog has been replaced by a main window,
for controlling Mail Notification when the status icon is
hidden
2006-01-04 21:28:01 +01:00
|
|
|
MAINTAINER= gdt@NetBSD.org
|
2004-10-02 16:04:42 +02:00
|
|
|
HOMEPAGE= http://www.nongnu.org/mailnotify/
|
|
|
|
COMMENT= Status icon that provides new mail notifications
|
|
|
|
|
2008-07-14 14:55:56 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2009-11-10 21:33:38 +01:00
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
CONFIGURE_SCRIPT= ./jb configure
|
2006-07-05 07:37:39 +02:00
|
|
|
USE_TOOLS+= gmake intltool msgfmt pkg-config
|
2004-10-02 16:04:42 +02:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2011-12-17 13:51:47 +01:00
|
|
|
LDFLAGS+= -lX11
|
2004-10-02 16:04:42 +02:00
|
|
|
|
2009-11-10 21:33:38 +01:00
|
|
|
CONFIGURE_ARGS= prefix="${PREFIX}" destdir="${DESTDIR}" sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
CONFIGURE_ARGS+= cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}"
|
|
|
|
CONFIGURE_ENV+= jb_cppflags="${CPPFLAGS}" jb_ldflags="${LDFLAGS}"
|
2004-10-02 16:04:42 +02:00
|
|
|
|
2007-09-21 15:03:25 +02:00
|
|
|
GCONF_SCHEMAS= mail-notification.schemas
|
2004-10-02 16:04:42 +02:00
|
|
|
|
2009-11-10 21:33:38 +01:00
|
|
|
CONFIGURE_ARGS+= evolution=no
|
|
|
|
|
2004-10-02 16:04:42 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mail-notification
|
2005-06-01 20:19:31 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= inet6 sasl ssl
|
2012-06-12 17:45:54 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6 ssl
|
2004-10-02 16:04:42 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
# Whether to add IPv6 support.
|
2005-06-01 20:19:31 +02:00
|
|
|
.if empty(PKG_OPTIONS:Minet6)
|
2009-11-10 21:33:38 +01:00
|
|
|
CONFIGURE_ARGS+= ipv6=no
|
2004-10-02 16:04:42 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
# Whether to add SASL2 support.
|
|
|
|
.if !empty(PKG_OPTIONS:Msasl)
|
2006-04-13 23:45:12 +02:00
|
|
|
. include "../../security/cyrus-sasl/buildlink3.mk"
|
2004-10-02 16:04:42 +02:00
|
|
|
.else
|
2009-11-10 21:33:38 +01:00
|
|
|
CONFIGURE_ARGS+= sasl=no
|
2004-10-02 16:04:42 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
# Whether to add SSL support.
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
|
|
.else
|
2009-11-10 21:33:38 +01:00
|
|
|
CONFIGURE_ARGS+= ssl=no
|
2004-10-02 16:04:42 +02:00
|
|
|
.endif
|
|
|
|
|
2009-11-10 21:33:38 +01:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ./jb build
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ./jb install
|
|
|
|
|
2007-09-21 15:03:25 +02:00
|
|
|
.include "../../devel/GConf/schemas.mk"
|
2006-02-19 01:27:26 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2004-10-02 16:04:42 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2007-09-21 15:03:25 +02:00
|
|
|
.include "../../devel/libglade/buildlink3.mk"
|
2007-04-20 16:29:21 +02:00
|
|
|
.include "../../devel/libgnome/buildlink3.mk"
|
2004-10-02 16:04:42 +02:00
|
|
|
.include "../../devel/libgnomeui/buildlink3.mk"
|
2007-05-03 21:08:40 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
2009-11-10 21:33:38 +01:00
|
|
|
.include "../../mail/gmime24/buildlink3.mk"
|
|
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
2007-09-20 01:13:12 +02:00
|
|
|
.include "../../sysutils/gnome-vfs/buildlink3.mk"
|
2007-04-20 16:29:21 +02:00
|
|
|
.include "../../sysutils/libnotify/buildlink3.mk"
|
2009-03-08 16:56:43 +01:00
|
|
|
.include "../../mk/omf-scrollkeeper.mk"
|
2004-10-02 16:04:42 +02:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2012-07-01 21:05:10 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2004-10-02 16:04:42 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|