Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2014 11:15:04 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356466 - head/mail/mboxcheck-applet
Message-ID:  <201406041115.s54BF4BD041139@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Jun  4 11:15:04 2014
New Revision: 356466
URL: http://svnweb.freebsd.org/changeset/ports/356466
QAT: https://qat.redports.org/buildarchive/r356466/

Log:
  - Add staging support
  - Convert to USE_GNOME

Modified:
  head/mail/mboxcheck-applet/Makefile

Modified: head/mail/mboxcheck-applet/Makefile
==============================================================================
--- head/mail/mboxcheck-applet/Makefile	Wed Jun  4 11:14:56 2014	(r356465)
+++ head/mail/mboxcheck-applet/Makefile	Wed Jun  4 11:15:04 2014	(r356466)
@@ -10,12 +10,10 @@ MASTER_SITES=	http://perso.orange.fr/seb
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406041115.s54BF4BD041139>