aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mboxcheck-applet/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-16 07:49:12 +0800
committerpav <pav@FreeBSD.org>2003-11-16 07:49:12 +0800
commit694da02da2b271d285d968c325f94d1310067b01 (patch)
tree5f9303c99f3c706c178618fddb4929f3cfead52f /mail/mboxcheck-applet/Makefile
parent7630a45cbd3d246e17b844a0a4ca17543aaccee5 (diff)
downloadfreebsd-ports-gnome-694da02da2b271d285d968c325f94d1310067b01.tar.gz
freebsd-ports-gnome-694da02da2b271d285d968c325f94d1310067b01.tar.zst
freebsd-ports-gnome-694da02da2b271d285d968c325f94d1310067b01.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)
Diffstat (limited to 'mail/mboxcheck-applet/Makefile')
-rw-r--r--mail/mboxcheck-applet/Makefile34
1 files changed, 34 insertions, 0 deletions
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>