aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-15 23:49:12 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-15 23:49:12 +0000
commit6e39ea69d2c2685964c84185b5ad40df8227e49a (patch)
tree910d03cf35022e0b42c7a5c2649d5640afb7fded
parent44a58a79402c9444ec6a022948c47e80d6313aab (diff)
downloadports-6e39ea69d2c2685964c84185b5ad40df8227e49a.tar.gz
ports-6e39ea69d2c2685964c84185b5ad40df8227e49a.zip
Add mboxcheck-applet, a GNOME 2 panel applet for checking new mail
in local mailbox. PR: ports/57668 Submitted by: me Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=94066
-rw-r--r--mail/Makefile1
-rw-r--r--mail/mboxcheck-applet/Makefile34
-rw-r--r--mail/mboxcheck-applet/distinfo1
-rw-r--r--mail/mboxcheck-applet/pkg-descr4
-rw-r--r--mail/mboxcheck-applet/pkg-plist4
5 files changed, 44 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 84abfdf7d393..9145776bfc43 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -141,6 +141,7 @@
SUBDIR += majordomo
SUBDIR += mavbiff
SUBDIR += mb2md
+ SUBDIR += mboxcheck-applet
SUBDIR += mboxgrep
SUBDIR += mboxstats
SUBDIR += mbx2mbox
diff --git a/mail/mboxcheck-applet/Makefile b/mail/mboxcheck-applet/Makefile
new file mode 100644
index 000000000000..9eac004bfc93
--- /dev/null
+++ b/mail/mboxcheck-applet/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: xmms-status-plugin
+# Date created: Sep 28, 2003
+# Whom: Pav Lucistnik <pav@oook.cz>
+#
+# $FreeBSD$
+
+PORTNAME= mboxcheck-applet
+PORTVERSION= 0.3
+CATEGORIES= mail
+MASTER_SITES= http://perso.wanadoo.fr/seb128/fichiers/
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= Mailbox checking applet for GNOME 2
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
+
+USE_X_PREFIX= yes
+USE_PYTHON= yes
+NO_BUILD= yes
+USE_REINPLACE= yes
+
+do-patch:
+ @${REINPLACE_CMD} 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/*.py
+ @${REINPLACE_CMD} 's|/usr/share/pixmaps/|${X11BASE}/share/gnome/pixmaps/|' ${WRKSRC}/mboxcheck.py
+ @${REINPLACE_CMD} 's|/usr/lib/gnome-panel/mboxcheck|${X11BASE}/libexec/mboxcheck.py|' ${WRKSRC}/GNOME_MboxCheck.server
+ @${REINPLACE_CMD} 's|mbox.png|mboxcheck.png|' ${WRKSRC}/GNOME_MboxCheck.server
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mboxcheck.py ${X11BASE}/libexec
+ ${INSTALL_SCRIPT} ${WRKSRC}/configmbox.py ${X11BASE}/libexec
+ ${INSTALL_DATA} ${WRKSRC}/mboxcheck.png ${X11BASE}/share/gnome/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/GNOME_MboxCheck.server ${X11BASE}/libdata/bonobo/servers
+
+.include <bsd.port.mk>
diff --git a/mail/mboxcheck-applet/distinfo b/mail/mboxcheck-applet/distinfo
new file mode 100644
index 000000000000..2662914371ae
--- /dev/null
+++ b/mail/mboxcheck-applet/distinfo
@@ -0,0 +1 @@
+MD5 (mboxcheck-applet-0.3.tar.gz) = f781858c3483f7de42442d24beec63f8
diff --git a/mail/mboxcheck-applet/pkg-descr b/mail/mboxcheck-applet/pkg-descr
new file mode 100644
index 000000000000..a0d118a00662
--- /dev/null
+++ b/mail/mboxcheck-applet/pkg-descr
@@ -0,0 +1,4 @@
+Mboxcheck is a GNOME2 applet which check mails arrive in your mboxes. It uses
+python and its gnome binding.
+
+WWW: http://perso.wanadoo.fr/seb128/mboxcheck-en.html
diff --git a/mail/mboxcheck-applet/pkg-plist b/mail/mboxcheck-applet/pkg-plist
new file mode 100644
index 000000000000..5a8f4a097705
--- /dev/null
+++ b/mail/mboxcheck-applet/pkg-plist
@@ -0,0 +1,4 @@
+libdata/bonobo/servers/GNOME_MboxCheck.server
+libexec/mboxcheck.py
+libexec/configmbox.py
+share/gnome/pixmaps/mboxcheck.png