aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-12-18 18:09:58 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-12-18 18:09:58 +0000
commit45c88e8f1a12bf149c26a290330355b390067acf (patch)
tree55851ce5f6a743e6cd3ec2d39c5db59e940ae17a /net-im
parentced96643ab294d7dffc1e4698ffc70b59f690c9e (diff)
downloadports-45c88e8f1a12bf149c26a290330355b390067acf.tar.gz
ports-45c88e8f1a12bf149c26a290330355b390067acf.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 63ef4df81a6f..096630ec8d66 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -82,7 +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
+ @${REINPLACE_CMD} "/Icon=/s|telegram|${PORTNAME}|" ${WRKSRC}/lib/xdg/telegramdesktop.desktop
pre-configure:
@cd ${WRKSRC} && gyp \
@@ -90,7 +90,7 @@ pre-configure:
-Gconfig=Release \
--depth=Telegram/gyp --generator-output=../.. -Goutput_dir=out Telegram/gyp/Telegram.gyp --format=cmake
@TOT=`wc -l < ${WRKSRC}/out/Release/CMakeLists.txt` && NUM=`expr $$TOT - 2` && \
- ${SED} -i -e "$$NUM r ${FILESDIR}/CMakeLists.inj" ${WRKSRC}/out/Release/CMakeLists.txt
+ ${REINPLACE_CMD} "$$NUM r ${FILESDIR}/CMakeLists.inj" ${WRKSRC}/out/Release/CMakeLists.txt
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Telegram ${STAGEDIR}${PREFIX}/bin/${PORTNAME}