net-im/telegram-desktop:

- Fix desktop entry

PR:		232746
Approved by:	Henry Hu (maintainer)
This commit is contained in:
Max Brazhnikov 2018-11-11 11:45:19 +00:00
parent 9adb469c83
commit 0307c409d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484686

View File

@ -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 \