svn commit: r323220 - in head: deskutils/gtg net-p2p/deluge

Ruslan Makhmatkhanov rm at FreeBSD.org
Thu Jul 18 10:42:15 UTC 2013


Author: rm
Date: Thu Jul 18 10:42:14 2013
New Revision: 323220
URL: http://svnweb.freebsd.org/changeset/ports/323220

Log:
  - convert desktopfileutils to USES
  
  Submitted by:	miwi (by mail)

Modified:
  head/deskutils/gtg/Makefile
  head/net-p2p/deluge/Makefile

Modified: head/deskutils/gtg/Makefile
==============================================================================
--- head/deskutils/gtg/Makefile	Thu Jul 18 10:30:29 2013	(r323219)
+++ head/deskutils/gtg/Makefile	Thu Jul 18 10:42:14 2013	(r323220)
@@ -17,8 +17,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}conf
 		xset:${PORTSDIR}/x11/xset
 
 FETCH_ARGS=	-pRr
-USE_GNOME=	desktopfileutils pygobject pygtk2
-USES=		gettext
+USE_GNOME=	pygobject pygtk2
+USES=		gettext desktop-file-utils
 INSTALLS_ICONS=	yes
 USE_PYTHON=	-2.7
 USE_PYDISTUTILS=	yes
@@ -40,7 +40,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
 		${WRKSRC}/org.gnome.GTG.service
 
-post-install:
-	@-update-desktop-database
-
 .include <bsd.port.mk>

Modified: head/net-p2p/deluge/Makefile
==============================================================================
--- head/net-p2p/deluge/Makefile	Thu Jul 18 10:30:29 2013	(r323219)
+++ head/net-p2p/deluge/Makefile	Thu Jul 18 10:42:14 2013	(r323220)
@@ -63,7 +63,8 @@ RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dbu
 		xdg-utils>=1.0.2:${PORTSDIR}/devel/xdg-utils
 
 PLIST_SUB+=	PYGTK=""
-USE_GNOME+=	desktopfileutils librsvg2 pygtk2
+USE_GNOME+=	librsvg2 pygtk2
+USES+=		desktop-file-utils
 INSTALLS_ICONS=	yes
 .else
 PLIST_SUB+=	PYGTK="@comment "
@@ -106,7 +107,6 @@ post-install:
 	fi
 	${INSTALL_DATA} ${WRKSRC}/deluge/data/share/applications/deluge.desktop \
 		${PREFIX}/share/applications
-	@-update-desktop-database
 .endif
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}


More information about the svn-ports-all mailing list