From a89ddb3c20657123314cd3dab1a1640df320d40e Mon Sep 17 00:00:00 2001 From: makc Date: Sun, 11 Nov 2018 11:45:19 +0000 Subject: net-im/telegram-desktop: - Fix desktop entry PR: 232746 Approved by: Henry Hu (maintainer) --- net-im/telegram-desktop/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net-im') diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index b34679ac3462..b9fafa5a01b0 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -3,7 +3,7 @@ PORTNAME= telegram-desktop DISTVERSIONPREFIX= v DISTVERSION= 1.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im MAINTAINER= henry.hu.sh@gmail.com @@ -82,6 +82,7 @@ post-patch: ${FILESDIR}/gyp-patches | \ ${PATCH} -z .bak -s) @${ECHO} "#define FREEBSD_QT_PLUGINDIR \"${QT_PLUGINDIR}\"" > ${WRKSRC}/Telegram/SourceFiles/FREEBSD_QT_PLUGINDIR.h + ${SED} -i -e "/Icon=/s|telegram|${PORTNAME}|" ${WRKSRC}/lib/xdg/telegramdesktop.desktop pre-configure: @cd ${WRKSRC} && gyp \ -- cgit