Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2013 10:42:15 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323220 - in head: deskutils/gtg net-p2p/deluge
Message-ID:  <201307181042.r6IAgFjg082208@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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