devel/pycharm-pro: Set JAVA_VERSION in bin/pycharm-pro

PR:		265719
Approved by:	guido@kollerie.com (maintainer)
This commit is contained in:
Steve Wills 2023-03-02 09:02:53 +01:00 committed by Emanuel Haupt
parent 1ca520c0b5
commit 127451b6c3
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= pycharm-pro
PORTVERSION= 2022.2.2
PORTREVISION= 1
CATEGORIES= devel java python
MASTER_SITES= https://download.jetbrains.com/python/ \
http://download.jetbrains.com/python/

View file

@ -1,3 +1,7 @@
#!/bin/sh
if [ -z "${JAVA_VERSION}" ]; then
export JAVA_VERSION=11
fi
exec "%%DATADIR%%/bin/pycharm.sh" "$@"