Date: Tue, 18 Dec 2018 18:09:58 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487760 - head/net-im/telegram-desktop Message-ID: <201812181809.wBII9wdj066703@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Tue Dec 18 18:09:58 2018 New Revision: 487760 URL: https://svnweb.freebsd.org/changeset/ports/487760 Log: net-im/telegram-desktop: Change SED -> REINPLACE_CMD Reported by: mat Approved by: portmgr (compliance) Modified: head/net-im/telegram-desktop/Makefile Modified: head/net-im/telegram-desktop/Makefile ============================================================================== --- head/net-im/telegram-desktop/Makefile Tue Dec 18 18:09:22 2018 (r487759) +++ head/net-im/telegram-desktop/Makefile Tue Dec 18 18:09:58 2018 (r487760) @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812181809.wBII9wdj066703>