Skip to content

Commit

Permalink
devel/rubymine: update to 2022.3
Browse files Browse the repository at this point in the history
Remove some Linux-only (CodeWithMe and Remote Server), and
Java Binary Runtime.

Somehow the in-IDE terminal is broken.

Changelog: https://youtrack.jetbrains.com/articles/RUBY-A-220365020
  • Loading branch information
rene0 committed Dec 2, 2022
1 parent 148bf34 commit d3a8268
Show file tree
Hide file tree
Showing 3 changed files with 613 additions and 1,288 deletions.
27 changes: 16 additions & 11 deletions devel/rubymine/Makefile
@@ -1,8 +1,7 @@
PORTNAME= rubymine
PORTVERSION= 2022.2.4
PORTVERSION= 2022.3
CATEGORIES= devel java
MASTER_SITES= https://download.jetbrains.com/ruby/ \
http://download.jetbrains.com/ruby/
MASTER_SITES= https://download.jetbrains.com/ruby/
DISTNAME= RubyMine-${PORTVERSION}

MAINTAINER= rene@FreeBSD.org
Expand All @@ -16,13 +15,12 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept

RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier

USES= cpe python:run shebangfix ssl
USES= cpe python:run shebangfix
CPE_VENDOR= jetbrains

USE_JAVA= yes
JAVA_VERSION= 11+

CPE_VENDOR= jetbrains

SHEBANG_FILES= bin/restart.py

NO_BUILD= yes
Expand All @@ -32,19 +30,26 @@ WRKDIST= ${WRKDIR}/RubyMine-${PORTVERSION}
.include "${.CURDIR}/../../java/intellij/common.mk"

PLIST_SUB+= DATADIR=${DATADIR}
SUB_FILES+= rubymine rubymine.desktop pkg-message
SUB_LIST+= DATADIR=${DATADIR}
SUB_FILES+= pkg-message rubymine rubymine.desktop
SUB_LIST+= IDEA_HOME=${IDEA_HOME}
do-install:
# Linux/Windows/OS X only so remove them
@${RM} -r ${WRKSRC}/bin/fsnotifier \
@${RM} -r ${WRKSRC}/bin/*fsnotifier* \
${WRKSRC}/bin/remote-dev-server.sh \
${WRKSRC}/bin/repair \
${WRKSRC}/jbr/ \
${WRKSRC}/lib/pty4j-native/ \
${WRKSRC}/bin/lib*.so
${WRKSRC}/lib/async-profiler-windows.jar \
${WRKSRC}/plugins/cwm-plugin/ \
${WRKSRC}/plugins/cwm-plugin-projector/ \
${WRKSRC}/plugins/gateway-plugin/lib/remote-dev-workers/ \
${WRKSRC}/plugins/remote-dev-server/
${MKDIR} ${STAGEDIR}${DATADIR}
@${TAR} -czf - -C ${WRKDIST} . | ${TAR} xzf - -C ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/rubymine ${STAGEDIR}${PREFIX}/bin/rubymine
${INSTALL_MAN} ${FILESDIR}/rubymine.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_DATA} ${WRKDIR}/rubymine.desktop ${STAGEDIR}${PREFIX}/share/applications/
# Use fsnotifier replacement provided by java/intellij-fsnotifier
${ECHO} "idea.filewatcher.executable.path=${DATADIR}/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
${ECHO} "idea.filewatcher.executable.path=${IDEA_HOME}/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/rubymine/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1669279185
SHA256 (RubyMine-2022.2.4.tar.gz) = f1065e3e098f907d9eae63eec7b55e24c84b5f3e03499a842ebc7a40768af806
SIZE (RubyMine-2022.2.4.tar.gz) = 611621381
TIMESTAMP = 1669921439
SHA256 (RubyMine-2022.3.tar.gz) = 8280b2472186baa8826e63ed4abf7edbb6899b12a7d9d4019a8d42d1a018a4d3
SIZE (RubyMine-2022.3.tar.gz) = 619318969

0 comments on commit d3a8268

Please sign in to comment.