Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2019 00:45:12 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517851 - in head/net/remotebox: . files
Message-ID:  <201911180045.xAI0jCaB014237@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Mon Nov 18 00:45:11 2019
New Revision: 517851
URL: https://svnweb.freebsd.org/changeset/ports/517851

Log:
  Replace the desktop file with DESKTOP_ENTRIES
  
  While here, format with portfmt.
  
  Reported by:	makc

Deleted:
  head/net/remotebox/files/
Modified:
  head/net/remotebox/Makefile
  head/net/remotebox/pkg-plist

Modified: head/net/remotebox/Makefile
==============================================================================
--- head/net/remotebox/Makefile	Sun Nov 17 23:37:13 2019	(r517850)
+++ head/net/remotebox/Makefile	Mon Nov 18 00:45:11 2019	(r517851)
@@ -3,7 +3,7 @@
 
 PORTNAME=	remotebox
 DISTVERSION=	2.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	http://remotebox.knobgoblin.org.uk/downloads/
 DISTNAME=	RemoteBox-${DISTVERSION}
@@ -20,19 +20,22 @@ RUN_DEPENDS=	p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
 USES=		shebangfix tar:bzip2
 
 SHEBANG_FILES=	remotebox
-NO_BUILD=	yes
 NO_ARCH=	yes
+NO_BUILD=	yes
 
+DESKTOP_ENTRIES=	"RemoteBox" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
+			"System;" false
+
 OPTIONS_DEFINE=		DOCS KRDC
 OPTIONS_DEFAULT=	FREERDP TIGERVNC
 OPTIONS_MULTI=		VIEWER
 OPTIONS_MULTI_VIEWER=	FREERDP RDESKTOP TIGERVNC VINAGRE
 
-FREERDP_DESC=		RDP client (fork of rdesktop with more features)
-KRDC_DESC=		RDP/VNC client for KDE5
-RDESKTOP_DESC=		RDP client (less features than freerdp)
-TIGERVNC_DESC=		VNC client (desktop neutral)
-VINAGRE_DESC=		VNC client for GNOME
+FREERDP_DESC=	RDP client (fork of rdesktop with more features)
+KRDC_DESC=	RDP/VNC client for KDE5
+RDESKTOP_DESC=	RDP client (less features than FreeRDP)
+TIGERVNC_DESC=	VNC client (desktop neutral)
+VINAGRE_DESC=	VNC client for GNOME
 
 FREERDP_RUN_DEPENDS=	xfreerdp:net/freerdp
 KRDC_RUN_DEPENDS=	krdc:net/krdc
@@ -63,8 +66,6 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/share/remotebox/icons/remotebox.png \
 	       ${STAGEDIR}${PREFIX}/share/pixmaps
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
-	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \
-		${STAGEDIR}${PREFIX}/share/applications
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/net/remotebox/pkg-plist
==============================================================================
--- head/net/remotebox/pkg-plist	Sun Nov 17 23:37:13 2019	(r517850)
+++ head/net/remotebox/pkg-plist	Mon Nov 18 00:45:11 2019	(r517851)
@@ -1,5 +1,4 @@
 bin/remotebox
-share/applications/remotebox.desktop
 %%PORTDOCS%%%%DOCSDIR%%/changelog.txt
 %%PORTDOCS%%%%DOCSDIR%%/remotebox.pdf
 share/pixmaps/remotebox.png



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