aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author0mp <0mp@FreeBSD.org>2019-11-18 08:45:11 +0800
committer0mp <0mp@FreeBSD.org>2019-11-18 08:45:11 +0800
commitdd47630b80a2f25f261199c66a77fcef481d3055 (patch)
treeab0a180ddccc7d9c31fb5f3cb4f74b0dfb9308fc
parentf22ede73c245ec23e4a5a1554b71a33436831fa5 (diff)
downloadfreebsd-ports-gnome-dd47630b80a2f25f261199c66a77fcef481d3055.tar.gz
freebsd-ports-gnome-dd47630b80a2f25f261199c66a77fcef481d3055.tar.zst
freebsd-ports-gnome-dd47630b80a2f25f261199c66a77fcef481d3055.zip
Replace the desktop file with DESKTOP_ENTRIES
While here, format with portfmt. Reported by: makc
-rw-r--r--net/remotebox/Makefile19
-rw-r--r--net/remotebox/files/remotebox.desktop10
-rw-r--r--net/remotebox/pkg-plist1
3 files changed, 10 insertions, 20 deletions
diff --git a/net/remotebox/Makefile b/net/remotebox/Makefile
index 96b4c6d45473..86498ac417c7 100644
--- a/net/remotebox/Makefile
+++ b/net/remotebox/Makefile
@@ -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}
diff --git a/net/remotebox/files/remotebox.desktop b/net/remotebox/files/remotebox.desktop
deleted file mode 100644
index 8de0594e2374..000000000000
--- a/net/remotebox/files/remotebox.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Value=1.0
-Type=Application
-Name=Remotebox
-GenericName=Remotebox
-Comment=Open Source VirtualBox Client with Remote Management
-Icon=remotebox
-Exec=remotebox
-Categories=System
diff --git a/net/remotebox/pkg-plist b/net/remotebox/pkg-plist
index 72aae43dfa8d..2ec75d11941f 100644
--- a/net/remotebox/pkg-plist
+++ b/net/remotebox/pkg-plist
@@ -1,5 +1,4 @@
bin/remotebox
-share/applications/remotebox.desktop
%%PORTDOCS%%%%DOCSDIR%%/changelog.txt
%%PORTDOCS%%%%DOCSDIR%%/remotebox.pdf
share/pixmaps/remotebox.png