summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-04 11:15:04 +0000
committerpawel <pawel@FreeBSD.org>2014-06-04 11:15:04 +0000
commitdde4a3b27ee2ef63fb3b070aac31630707f295bd (patch)
tree3c0bfbb8b97668f845619618791447dcaa5982b2
parent9b8136fd1402c81b53fae668d974ba69a64dafe5 (diff)
downloadFreeBSD-ports-dde4a3b27ee2ef63fb3b070aac31630707f295bd.zip
FreeBSD-ports-dde4a3b27ee2ef63fb3b070aac31630707f295bd.tar.gz
- Add staging support
- Convert to USE_GNOME
-rw-r--r--mail/mboxcheck-applet/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/mail/mboxcheck-applet/Makefile b/mail/mboxcheck-applet/Makefile
index 6a043f1..4723ed4 100644
--- a/mail/mboxcheck-applet/Makefile
+++ b/mail/mboxcheck-applet/Makefile
@@ -10,12 +10,10 @@ MASTER_SITES= http://perso.orange.fr/seb128/fichiers/
MAINTAINER= ports@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_PYTHON= yes
+USE_GNOME= pygnome2:run
NO_BUILD= yes
-NO_STAGE= yes
do-patch:
@${REINPLACE_CMD} 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/*.py
@${REINPLACE_CMD} 's|/usr/share/pixmaps/|${LOCALBASE}/share/pixmaps/|' ${WRKSRC}/mboxcheck.py
@@ -23,9 +21,10 @@ do-patch:
@${REINPLACE_CMD} 's|mbox.png|mboxcheck.png|' ${WRKSRC}/GNOME_MboxCheck.server
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/mboxcheck.py ${LOCALBASE}/libexec
- ${INSTALL_SCRIPT} ${WRKSRC}/configmbox.py ${LOCALBASE}/libexec
- ${INSTALL_DATA} ${WRKSRC}/mboxcheck.png ${LOCALBASE}/share/pixmaps
- ${INSTALL_DATA} ${WRKSRC}/GNOME_MboxCheck.server ${LOCALBASE}/libdata/bonobo/servers
+ ${INSTALL_SCRIPT} ${WRKSRC}/mboxcheck.py ${STAGEDIR}${PREFIX}/libexec
+ ${INSTALL_SCRIPT} ${WRKSRC}/configmbox.py ${STAGEDIR}${PREFIX}/libexec
+ ${INSTALL_DATA} ${WRKSRC}/mboxcheck.png ${STAGEDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/GNOME_MboxCheck.server \
+ ${STAGEDIR}${PREFIX}/libdata/bonobo/servers
.include <bsd.port.mk>
OpenPOWER on IntegriCloud