summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2009-03-12 06:44:13 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2009-03-12 06:44:13 +0800
commitb40d46d8871923c9cd586263111ff33a8ff9a8c1 (patch)
tree196144f2461fb79914aa13deaa821c6ed7355819 /mail
parentdad9935ed5c333d3d792bf9af5c3dd43239af312 (diff)
downloadmarcuscom-ports-b40d46d8871923c9cd586263111ff33a8ff9a8c1.tar
marcuscom-ports-b40d46d8871923c9cd586263111ff33a8ff9a8c1.tar.gz
marcuscom-ports-b40d46d8871923c9cd586263111ff33a8ff9a8c1.tar.bz2
marcuscom-ports-b40d46d8871923c9cd586263111ff33a8ff9a8c1.tar.lz
marcuscom-ports-b40d46d8871923c9cd586263111ff33a8ff9a8c1.tar.xz
marcuscom-ports-b40d46d8871923c9cd586263111ff33a8ff9a8c1.tar.zst
marcuscom-ports-b40d46d8871923c9cd586263111ff33a8ff9a8c1.zip
Remove etc/xdg/autostart from the plist.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12068 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-notification/Makefile142
-rw-r--r--mail/mail-notification/distinfo3
-rw-r--r--mail/mail-notification/files/patch-openssl-threads11
-rw-r--r--mail/mail-notification/files/patch-po_pl.po15
-rw-r--r--mail/mail-notification/pkg-descr25
-rw-r--r--mail/mail-notification/pkg-plist44
6 files changed, 240 insertions, 0 deletions
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile
new file mode 100644
index 000000000..a45a67014
--- /dev/null
+++ b/mail/mail-notification/Makefile
@@ -0,0 +1,142 @@
+# New ports collection makefile for: mail-notification
+# Date created: 18 Sep 2003
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD: ports/mail/mail-notification/Makefile,v 1.58 2008/07/16 05:48:18 rafan Exp $
+#
+
+PORTNAME= mail-notification
+DISTVERSION= 5.4
+PORTREVISION= 1
+CATEGORIES= mail ipv6
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= mailnotify
+
+MAINTAINER= mwisnicki+freebsd@gmail.com
+COMMENT= A mail notification for freedesktop.org-compliant system trays
+
+LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ gnome-keyring:${PORTSDIR}/security/gnome-keyring \
+ notify:${PORTSDIR}/devel/libnotify
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+USE_GNOME= gconf2 gnomeprefix gnomevfs2 libglade2 libgnomeui libxml2
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+JB_CONF_ARGS= cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}" prefix="${PREFIX}"
+JB_CONF_ENV= jb_cppflags="${CPPFLAGS}" jb_ldflags="${LDFLAGS}"
+GCONF_SCHEMAS= mail-notification.schemas
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+
+OPTIONS= EVOLUTION "Evolution support" off \
+ GMAIL "Gmail support" on \
+ HOTMAIL "Windows Live Hotmail support" on \
+ IMAP "IMAP support" on \
+ MAILDIR "Maildir support" on \
+ MBOX "mbox support" on \
+ MH "MH support" on \
+ MOZILLA "Mozilla products support" on \
+ POP3 "POP3 support" on \
+ SASL "SASL authentication support" on \
+ SSL "SSL/TLS support" on \
+ SYLPHEED "Sylpheed support" on \
+ YAHOO "Yahoo! Mail support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_MBOX)
+JB_CONF_ARGS+= mbox=no
+.endif
+.if defined(WITHOUT_MH)
+JB_CONF_ARGS+= mh=no
+.endif
+.if defined(WITHOUT_MAILDIR)
+JB_CONF_ARGS+= maildir=no
+.endif
+.if defined(WITHOUT_POP3)
+JB_CONF_ARGS+= pop3=no
+.endif
+.if defined(WITHOUT_IMAP)
+JB_CONF_ARGS+= imap=no
+.endif
+.if defined(WITHOUT_POP3) && defined(WITHOUT_IMAP)
+# only POP3 and IMAP use SSL and SASL
+WITHOUT_SSL= yes
+WITHOUT_SASL= yes
+.endif
+.if defined(WITHOUT_GMAIL)
+JB_CONF_ARGS+= gmail=no
+PLIST_SUB+= GMAIL="@comment "
+.else
+PLIST_SUB+= GMAIL=""
+.endif
+.if defined(WITHOUT_HOTMAIL)
+JB_CONF_ARGS+= hotmail=no
+PLIST_SUB+= HOTMAIL="@comment "
+.else
+RUN_DEPENDS+= getlive:${PORTSDIR}/mail/getlive
+PLIST_SUB+= HOTMAIL=""
+.endif
+.if defined(WITHOUT_YAHOO)
+JB_CONF_ARGS+= yahoo=no
+PLIST_SUB+= YAHOO="@comment "
+.else
+RUN_DEPENDS+= fetchyahoo:${PORTSDIR}/mail/fetchyahoo
+PLIST_SUB+= YAHOO=""
+.endif
+.if defined(WITHOUT_EVOLUTION)
+JB_CONF_ARGS+= evolution=no
+PLIST_SUB+= EVOLUTION="@comment "
+.else
+EVO_VERSION= 2.22
+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin.pc:${PORTSDIR}/mail/evolution
+RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/evolution-plugin.pc:${PORTSDIR}/mail/evolution
+PLIST_SUB+= EVOLUTION="" EVO_VERSION=${EVO_VERSION}
+.endif
+.if defined(WITHOUT_MOZILLA)
+JB_CONF_ARGS+= mozilla=no
+.endif
+.if defined(WITHOUT_SYLPHEED)
+JB_CONF_ARGS+= sylpheed=no
+.endif
+.if defined(WITH_MBOX) \
+ || defined(WITH_MH) \
+ || defined(WITH_MAILDIR) \
+ || defined(WITH_POP3) \
+ || defined(WITH_IMAP) \
+ || defined(WITH_MOZILLA) \
+ || defined(WITH_SYLPHEED) \
+ || defined(WITH_HOTMAIL) \
+ || defined(WITH_YAHOO)
+LIB_DEPENDS+= gmime-2.0.4:${PORTSDIR}/mail/gmime2
+.endif
+.if defined(WITHOUT_SSL)
+JB_CONF_ARGS+= ssl=no
+.else
+# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+.endif
+.if defined(WITHOUT_SASL)
+JB_CONF_ARGS+= sasl=no
+.else
+LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
+.endif
+
+post-patch:
+.if ${OSVERSION} < 700042
+ @${REINPLACE_CMD} -e "s,-Wno-pointer-sign,," ${WRKSRC}/jb
+.endif
+
+do-configure:
+ cd ${WRKSRC} && ${JB_CONF_ENV} ./jb configure ${JB_CONF_ARGS}
+
+do-build:
+ cd ${WRKSRC} && ./jb build
+
+do-install:
+ cd ${WRKSRC} && ./jb install
+
+.include <bsd.port.post.mk>
diff --git a/mail/mail-notification/distinfo b/mail/mail-notification/distinfo
new file mode 100644
index 000000000..9f3d34071
--- /dev/null
+++ b/mail/mail-notification/distinfo
@@ -0,0 +1,3 @@
+MD5 (mail-notification-5.4.tar.bz2) = c8dc33a61251acb5474e56eab6b18f43
+SHA256 (mail-notification-5.4.tar.bz2) = 5dec5f3852437e7735269697c77a29a24ea230987c764523fe66dabdca815af5
+SIZE (mail-notification-5.4.tar.bz2) = 570008
diff --git a/mail/mail-notification/files/patch-openssl-threads b/mail/mail-notification/files/patch-openssl-threads
new file mode 100644
index 000000000..8c935adef
--- /dev/null
+++ b/mail/mail-notification/files/patch-openssl-threads
@@ -0,0 +1,11 @@
+--- jbsrc/lib/src/extras/jb-openssl.c.orig 2008-04-27 16:47:43.000000000 +0200
++++ jbsrc/lib/src/extras/jb-openssl.c 2008-07-10 22:48:53.000000000 +0200
+@@ -91,7 +91,7 @@
+ result = jb_test_compile_string("#define OPENSSL_THREAD_DEFINES\n"
+ "#include <openssl/opensslconf.h>\n"
+ "int main () {\n"
+- "#ifndef OPENSSL_THREADS\n"
++ "#if !defined(OPENSSL_THREADS) && !defined(THREADS)\n"
+ "#error \"no thread support\"\n"
+ "#endif\n"
+ "}\n",
diff --git a/mail/mail-notification/files/patch-po_pl.po b/mail/mail-notification/files/patch-po_pl.po
new file mode 100644
index 000000000..24bf6f940
--- /dev/null
+++ b/mail/mail-notification/files/patch-po_pl.po
@@ -0,0 +1,15 @@
+--- po/pl.po.orig 2008-05-22 17:38:01.000000000 +0200
++++ po/pl.po 2008-07-11 01:44:09.000000000 +0200
+@@ -777,9 +777,9 @@
+ #, c-format
+ msgid "feed retrieved successfully (%i byte)"
+ msgid_plural "feed retrieved successfully (%i bytes)"
+-msgstr[0] "nagłówek pobrany pomyślnie (%s bajt)"
+-msgstr[1] "nagłówek pobrany pomyślnie (%s bajty)"
+-msgstr[2] "nagłówek pobrany pomyślnie (%s bajtów)"
++msgstr[0] "nagłówek pobrany pomyślnie (%i bajt)"
++msgstr[1] "nagłówek pobrany pomyślnie (%i bajty)"
++msgstr[2] "nagłówek pobrany pomyślnie (%i bajtów)"
+
+ #: ../src/mn-gmail-mailbox.gob:203 ../src/mn-gmail-mailbox.gob:254
+ msgid "unable to parse feed"
diff --git a/mail/mail-notification/pkg-descr b/mail/mail-notification/pkg-descr
new file mode 100644
index 000000000..227c14361
--- /dev/null
+++ b/mail/mail-notification/pkg-descr
@@ -0,0 +1,25 @@
+Mail Notification is a status icon (aka tray icon) that informs you if you
+have new mail.
+
+It works with system trays implementing the freedesktop.org System Tray
+Specification, such as the GNOME Panel Notification Area, the Xfce
+Notification Area and the KDE System Tray.
+
+Mail Notification features include:
+
+ * multiple mailbox support
+ * mbox, MH, Maildir, POP3, IMAP, Gmail, Evolution, Mozilla products
+ (Mozilla, SeaMonkey, Thunderbird, ...) and Sylpheed support
+ * SASL authentication support
+ * APOP authentication support
+ * SSL/TLS support
+ * automatic detection of mailbox format
+ * immediate notification (the status icon is updated immediately or
+ within seconds after a mailbox changes)
+ * message popups
+ * HIG 2.0 compliance
+
+WWW: http://www.nongnu.org/mailnotify/
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/mail/mail-notification/pkg-plist b/mail/mail-notification/pkg-plist
new file mode 100644
index 000000000..aa5729cbb
--- /dev/null
+++ b/mail/mail-notification/pkg-plist
@@ -0,0 +1,44 @@
+bin/mail-notification
+etc/xdg/autostart/mail-notification.desktop
+share/applications/mail-notification-properties.desktop
+share/gnome/help/mail-notification/C/documentation-license.xml
+share/gnome/help/mail-notification/C/figures/mail.png
+share/gnome/help/mail-notification/C/mail-notification.xml
+share/gnome/help/mail-notification/C/software-license.xml
+%%GMAIL%%share/mail-notification/gmail.png
+%%HOTMAIL%%share/mail-notification/hotmail.png
+share/mail-notification/logo.png
+share/mail-notification/new-mail.wav
+%%YAHOO%%share/mail-notification/yahoo.png
+share/mail-notification/mailbox-properties-dialog.glade
+share/mail-notification/properties-dialog.glade
+share/omf/mail-notification/mail-notification-C.omf
+share/icons/hicolor/16x16/apps/mail-notification.png
+share/icons/hicolor/22x22/apps/mail-notification.png
+share/icons/hicolor/24x24/apps/mail-notification.png
+share/icons/hicolor/32x32/apps/mail-notification.png
+share/icons/hicolor/48x48/apps/mail-notification.png
+share/icons/hicolor/scalable/apps/mail-notification.svg
+share/locale/bg/LC_MESSAGES/mail-notification.mo
+share/locale/ca/LC_MESSAGES/mail-notification.mo
+share/locale/cs/LC_MESSAGES/mail-notification.mo
+share/locale/de/LC_MESSAGES/mail-notification.mo
+share/locale/es/LC_MESSAGES/mail-notification.mo
+share/locale/fr/LC_MESSAGES/mail-notification.mo
+share/locale/ja/LC_MESSAGES/mail-notification.mo
+share/locale/nl/LC_MESSAGES/mail-notification.mo
+share/locale/pl/LC_MESSAGES/mail-notification.mo
+share/locale/pt/LC_MESSAGES/mail-notification.mo
+share/locale/pt_BR/LC_MESSAGES/mail-notification.mo
+share/locale/ru/LC_MESSAGES/mail-notification.mo
+share/locale/sr/LC_MESSAGES/mail-notification.mo
+share/locale/sr@Latn/LC_MESSAGES/mail-notification.mo
+share/locale/sv/LC_MESSAGES/mail-notification.mo
+%%EVOLUTION%%lib/evolution/%%EVO_VERSION%%/plugins/liborg-jylefort-mail-notification.so
+%%EVOLUTION%%lib/evolution/%%EVO_VERSION%%/plugins/org-jylefort-mail-notification.eplug
+@dirrm share/omf/mail-notification
+@dirrm share/mail-notification
+@dirrm share/gnome/help/mail-notification/C/figures
+@dirrm share/gnome/help/mail-notification/C
+@dirrm share/gnome/help/mail-notification
+@dirrmtry share/applications