diff --git a/mail/claws-mail-notification/Makefile b/mail/claws-mail-notification/Makefile new file mode 100644 index 00000000000..a2ed9f45a2f --- /dev/null +++ b/mail/claws-mail-notification/Makefile @@ -0,0 +1,45 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/10/30 13:01:47 landry Exp $ + +SHARED_ONLY= Yes + +COMMENT= notification plugin for Claws-mail + +VERSION= 0.12.1 +DISTNAME= notification_plugin-${VERSION} +PKGNAME= claws-mail-notification-${VERSION} +MASTER_SITES= http://www.claws-mail.org/downloads/plugins/ +CATEGORIES= mail + +HOMEPAGE= http://www.claws-mail.org/plugin.php?plugin=notification +MAINTAINER= Landry Breuil + +# GPLv3 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + + +USE_X11= Yes +USE_LIBTOOL= Yes +LIBTOOL_FLAGS= --tag=disable-static + +MODULES= devel/gettext + +LIB_DEPENDS= notify.>=2::devel/libnotify + +RUN_DEPENDS= ::mail/claws-mail +BUILD_DEPENDS= ${RUN_DEPENDS} + +WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \ + Xi Xinerama Xrandr Xrender atk-1.0 cairo dbus-1 dbus-glib-1 \ + expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \ + glib-2.0 glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0 \ + m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre png z + +CONFIGURE_STYLE=gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --disable-static + +.include diff --git a/mail/claws-mail-notification/distinfo b/mail/claws-mail-notification/distinfo new file mode 100644 index 00000000000..16645013671 --- /dev/null +++ b/mail/claws-mail-notification/distinfo @@ -0,0 +1,5 @@ +MD5 (notification_plugin-0.12.1.tar.gz) = i2vDtGYbmUom/GRWtMAepQ== +RMD160 (notification_plugin-0.12.1.tar.gz) = lRr+VVbLqqlwOBASM5QGoqeX/qg= +SHA1 (notification_plugin-0.12.1.tar.gz) = Bjf28IN6ttpTXLg0OJLC0a8qIdw= +SHA256 (notification_plugin-0.12.1.tar.gz) = ZJSzbVcQK5bC5/vCzPoHo23ovKYj7xu6m19AiOhB7Ks= +SIZE (notification_plugin-0.12.1.tar.gz) = 460042 diff --git a/mail/claws-mail-notification/patches/patch-configure b/mail/claws-mail-notification/patches/patch-configure new file mode 100644 index 00000000000..323f75c027b --- /dev/null +++ b/mail/claws-mail-notification/patches/patch-configure @@ -0,0 +1,17 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2007/10/30 13:01:47 landry Exp $ +--- configure.orig Mon Oct 22 17:43:00 2007 ++++ configure Mon Oct 22 17:44:05 2007 +@@ -23989,10 +23989,10 @@ XGETTEXT!$XGETTEXT$ac_delim + XGETTEXT_015!$XGETTEXT_015$ac_delim + MSGMERGE!$MSGMERGE$ac_delim + INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim +-LIBICONV!$LIBICONV$ac_delim ++LIBICONV!$LTLIBICONV$ac_delim + LTLIBICONV!$LTLIBICONV$ac_delim +-INTLLIBS!$INTLLIBS$ac_delim +-LIBINTL!$LIBINTL$ac_delim ++INTLLIBS!$LTLIBINTL$ac_delim ++LIBINTL!$LTLIBINTL$ac_delim + LTLIBINTL!$LTLIBINTL$ac_delim + POSUB!$POSUB$ac_delim + GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim diff --git a/mail/claws-mail-notification/pkg/DESCR b/mail/claws-mail-notification/pkg/DESCR new file mode 100644 index 00000000000..b748b03f62d --- /dev/null +++ b/mail/claws-mail-notification/pkg/DESCR @@ -0,0 +1,8 @@ +The Notification plugin provides various ways to notify the user of new +and possibly unread mail. +Currently, the following modules are implemented: +* A system tray icon, optionally with popup on new mail arrival +* A popup window using devel/libnotify +* A mail banner (stocks ticker-like widget) +* Support for a command to be issued on new mail arrival +* Support for displaying mail status on a LCD diff --git a/mail/claws-mail-notification/pkg/PLIST b/mail/claws-mail-notification/pkg/PLIST new file mode 100644 index 00000000000..89eca76dc2c --- /dev/null +++ b/mail/claws-mail-notification/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/30 13:01:47 landry Exp $ +lib/claws-mail/plugins/notification_plugin.la +lib/claws-mail/plugins/notification_plugin.so +share/locale/ca/LC_MESSAGES/notification_plugin.mo +share/locale/cs/LC_MESSAGES/notification_plugin.mo +share/locale/fi/LC_MESSAGES/notification_plugin.mo +share/locale/hu/LC_MESSAGES/notification_plugin.mo +share/locale/pt_BR/LC_MESSAGES/notification_plugin.mo +share/locale/zh_CN/LC_MESSAGES/notification_plugin.mo