aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-04-12 06:48:26 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-04-12 06:48:59 +0000
commitd778021090109065c66a06acbc6618242be51c9f (patch)
tree76a564ba7deff65dfbade4ba074050dad10e0e6f
parent8820f44efed7813eead94eac469de8ec59dc1883 (diff)
downloadports-d778021090109065c66a06acbc6618242be51c9f.tar.gz
ports-d778021090109065c66a06acbc6618242be51c9f.zip
devel/RStudio: Not install rstudio.desktop
-rw-r--r--devel/RStudio/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/RStudio/Makefile b/devel/RStudio/Makefile
index 1692907bc2e3..bb935f75a313 100644
--- a/devel/RStudio/Makefile
+++ b/devel/RStudio/Makefile
@@ -4,6 +4,7 @@
PORTNAME= RStudio
DISTVERSIONPREFIX= v
DISTVERSION= 2022.02.1+461
+PORTREVISION= 1
CATEGORIES= devel math java
MASTER_SITES= https://s3.amazonaws.com/rstudio-buildtools/dictionaries/:dictionaries \
https://s3.amazonaws.com/rstudio-buildtools/:buildtools
@@ -132,7 +133,7 @@ post-install:
) > ${STAGEDIR}${PREFIX}/bin/${EXECUTABLE}
@${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${EXECUTABLE}
.if ${FLAVOR:U} == desktop
- ${REINPLACE_CMD} -e 's|^Exec=.*/rstudio|Exec=${PREFIX}/bin/${EXECUTABLE}|' ${STAGEDIR}${PREFIX}/share/applications/${EXECUTABLE}.desktop
+ ${REINPLACE_CMD} -i '' -e 's|^Exec=.*/rstudio|Exec=${PREFIX}/bin/${EXECUTABLE}|' ${STAGEDIR}${PREFIX}/share/applications/${EXECUTABLE}.desktop
.endif
.if ${FLAVOR:U} == server
${RM} ${STAGEDIR}${LOCALBASE}/lib/${INSTALL_SUBDIR}/bin/rstudio-server # not compatible with FreeBSD