Skip to content

Commit

Permalink
devel/jetbrains-clion: Update to 2021.1
Browse files Browse the repository at this point in the history
Changes https://confluence.jetbrains.com/pages/viewpage.action?pageId=211354095
PR:		254957
Approved by:	Dmitry Wagin <dmitry.wagin@ya.ru> (maintainer)
  • Loading branch information
kev009 committed Apr 11, 2021
1 parent 89756e8 commit fe7bcef
Show file tree
Hide file tree
Showing 3 changed files with 1,068 additions and 1,002 deletions.
12 changes: 4 additions & 8 deletions devel/jetbrains-clion/Makefile
@@ -1,5 +1,5 @@
PORTNAME= clion
PORTVERSION= 2020.3.3
PORTVERSION= 2021.1
CATEGORIES= devel java
MASTER_SITES= https://download-cf.jetbrains.com/cpp/
PKGNAMEPREFIX= jetbrains-
Expand All @@ -15,15 +15,15 @@ LICENSE_TEXT= See: https://www.jetbrains.com/store/license.html
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept

RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier \
intellij-pty4j>=0.11.4:java/intellij-pty4j \
lsof:sysutils/lsof

USES= python:run shebangfix

USE_JAVA= yes
JAVA_VERSION= 11+

SHEBANG_FILES= bin/printenv.py bin/restart.py
SHEBANG_FILES= bin/printenv.py bin/restart.py \
plugins/python-ce/helpers/typeshed/scripts/generate_proto_stubs.sh

NO_ARCH= yes
NO_BUILD= yes
Expand All @@ -32,9 +32,6 @@ SUB_FILES= ${PORTNAME} ${PORTNAME}.desktop pkg-message
WRKSRC= ${WRKDIR}/clion-${PORTVERSION}

do-install:
# Initial JDK 15+ support
@${REINPLACE_CMD} '/UseConcMarkSweepGC/d' ${WRKSRC}/bin/${PORTNAME}.vmoptions
@${REINPLACE_CMD} '/UseConcMarkSweepGC/d' ${WRKSRC}/bin/${PORTNAME}64.vmoptions
# Linux/Windows/OS X only so remove them
@${RM} -r \
${WRKSRC}/bin/clang \
Expand All @@ -47,6 +44,7 @@ do-install:
${WRKSRC}/jbr \
${WRKSRC}/jre64 \
${WRKSRC}/lib/pty4j-native \
${WRKSRC}/plugins/cwm-plugin/quiche-native \
${WRKSRC}/plugins/performanceTesting/bin
${MKDIR} ${STAGEDIR}${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
Expand All @@ -57,7 +55,5 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
# Use fsnotifier replacement provided by java/intellij-fsnotifier
${ECHO} "idea.filewatcher.executable.path=${PREFIX}/intellij/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
# Use pty4j replacement provided by java/intellij-pty4j
${LN} -sf ../../../intellij/lib/libpty ${STAGEDIR}${DATADIR}/lib/pty4j-native

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/jetbrains-clion/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1615973535
SHA256 (jetbrains/CLion-2020.3.3.tar.gz) = 2470365df5c682aec24e6ce88a87100232d0f26607522dda79572414fb944083
SIZE (jetbrains/CLion-2020.3.3.tar.gz) = 624552270
TIMESTAMP = 1618068629
SHA256 (jetbrains/CLion-2021.1.tar.gz) = fd82ff4e335f5a69e0e8ac2d442bfb29f5bd11d814b21efc481e0b77499802e3
SIZE (jetbrains/CLion-2021.1.tar.gz) = 711517491

0 comments on commit fe7bcef

Please sign in to comment.