aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2018-11-11 19:45:19 +0800
committermakc <makc@FreeBSD.org>2018-11-11 19:45:19 +0800
commita89ddb3c20657123314cd3dab1a1640df320d40e (patch)
treecccc2d2bc33be6a17ea1e24ad6a1b3427c96af93 /net-im
parent83a64affb5488fc0ecc50a15adffdbd8d0eac84c (diff)
downloadfreebsd-ports-gnome-a89ddb3c20657123314cd3dab1a1640df320d40e.tar.gz
freebsd-ports-gnome-a89ddb3c20657123314cd3dab1a1640df320d40e.tar.zst
freebsd-ports-gnome-a89ddb3c20657123314cd3dab1a1640df320d40e.zip
net-im/telegram-desktop:
- Fix desktop entry PR: 232746 Approved by: Henry Hu (maintainer)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop/Makefile3
1 files changed, 2 insertions, 1 deletions
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 \