svn commit: r484686 - head/net-im/telegram-desktop

Max Brazhnikov makc at FreeBSD.org
Sun Nov 11 11:45:23 UTC 2018


Author: makc
Date: Sun Nov 11 11:45:19 2018
New Revision: 484686
URL: https://svnweb.freebsd.org/changeset/ports/484686

Log:
  net-im/telegram-desktop:
  - Fix desktop entry
  
  PR:		232746
  Approved by:	Henry Hu (maintainer)

Modified:
  head/net-im/telegram-desktop/Makefile

Modified: head/net-im/telegram-desktop/Makefile
==============================================================================
--- head/net-im/telegram-desktop/Makefile	Sun Nov 11 11:45:11 2018	(r484685)
+++ head/net-im/telegram-desktop/Makefile	Sun Nov 11 11:45:19 2018	(r484686)
@@ -3,7 +3,7 @@
 PORTNAME=	telegram-desktop
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.4.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-im
 
 MAINTAINER=	henry.hu.sh at 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 \


More information about the svn-ports-all mailing list