Skip to content

Commit

Permalink
java/intellij-rubymine: update to 2021.2
Browse files Browse the repository at this point in the history
Changes: https://www.jetbrains.com/ruby/whatsnew/2021-2/

While here:
- update the manual page to mention RubyMine instead of IntelliJ IDEA
- clean up old fixes no longer needed:
  - type-ahead timeout exceeded
  - slow rendering
  • Loading branch information
rene0 committed Jul 27, 2021
1 parent b2b5fd5 commit a641a8b
Show file tree
Hide file tree
Showing 4 changed files with 524 additions and 238 deletions.
16 changes: 2 additions & 14 deletions java/intellij-rubymine/Makefile
@@ -1,7 +1,7 @@
# Created by: Stefan Wendler <stefan.wendler@tngtech.com>

PORTNAME= rubymine
PORTVERSION= 2021.1.3
PORTVERSION= 2021.2
CATEGORIES= java devel
MASTER_SITES= https://download.jetbrains.com/ruby/ \
http://download.jetbrains.com/ruby/
Expand Down Expand Up @@ -38,26 +38,14 @@ SUB_LIST+= DATADIR=${DATADIR}
do-install:
# Linux/Windows/OS X only so remove them
@${RM} -r ${WRKSRC}/bin/fsnotifier \
${WRKSRC}/bin/fsnotifier-arm \
${WRKSRC}/bin/fsnotifier64 \
${WRKSRC}/lib/pty4j-native/ \
${WRKSRC}/bin/lib*.so \
${WRKSRC}/bin/libyjpagent-linux*.so \
${WRKSRC}/jbr
@${RM} ${WRKSRC}/plugins/performanceTesting/lib/lib*.so
${WRKSRC}/bin/lib*.so
${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/
cd ${WRKDIST}/lib && ${JAVA_HOME}/bin/jar xf icons.jar
${INSTALL_DATA} ${WRKDIST}/lib/icon.png ${STAGEDIR}${DATADIR}/rubymine.png
# Use fsnotifier replacement provided by java/intellij-fsnotifier
${ECHO} "idea.filewatcher.executable.path=${DATADIR}/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
# Fix "Typeahead timeout is exceeded" error
${ECHO} "action.aware.typeAhead=false" >> ${STAGEDIR}${DATADIR}/bin/rubymine.properties
# Fix slow render
${ECHO} "-Dsun.java2d.xrender=false" >> ${STAGEDIR}${DATADIR}/bin/rubymine.vmoptions
${ECHO} "-Dsun.java2d.xrender=false" >> ${STAGEDIR}${DATADIR}/bin/rubymine64.vmoptions

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions java/intellij-rubymine/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1625396799
SHA256 (RubyMine-2021.1.3.tar.gz) = 2bdfa719cca447c10b1a4a21539f086cf5cdf3dac6f5c9918d770c2d5e372467
SIZE (RubyMine-2021.1.3.tar.gz) = 505991269
TIMESTAMP = 1627414018
SHA256 (RubyMine-2021.2.tar.gz) = 9147865bcf4f564ff799ac237ffb6f01b2633d22e57f98ed0d76204a46d33299
SIZE (RubyMine-2021.2.tar.gz) = 516096517
12 changes: 5 additions & 7 deletions java/intellij-rubymine/files/rubymine.1
@@ -1,17 +1,15 @@
.\" $OpenBSD: mdoc.template,v 1.10 2007/05/31 22:10:19 jmc Exp $
.Dd $Mdocdate: April 9 2010 $
.Dt IDEA 1
.Dt RUBYMINE 1
.Os
.Sh NAME
.Nm idea
.Nd launch IntelliJ IDEA Java Integrated Development Environment
.Nm rubymine
.Nd launch RubyMine Integrated Development Environment
.Sh SYNOPSIS
.Nm
.Op jvm-args
.Sh DESCRIPTION
.Nm
starts up the IntelliJ IDEA Community Edition Java Integrated
Development Environment.
starts up the RubyMine Community Edition Integrated Development Environment.
.Sh SEE ALSO
The web site
http://www.jetbrains.com/idea/.
https://www.jetbrains.com/ruby/

0 comments on commit a641a8b

Please sign in to comment.