devel/jetbrains-phpstorm: Add default JDK runtime
PR: 268371 Reported by: dmitry.wagin@ya.ru (maintainer)
This commit is contained in:
parent
3bca93127d
commit
762a8c90b5
3 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= phpstorm
|
||||
PORTVERSION= 2022.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= https://download-cdn.jetbrains.com/webide/
|
||||
PKGNAMEPREFIX= jetbrains-
|
||||
|
@ -32,6 +33,7 @@ NO_ARCH= yes
|
|||
NO_ARCH_IGNORE= libjnidispatch.so
|
||||
NO_BUILD= yes
|
||||
SUB_FILES= ${PORTNAME} ${PORTNAME}.desktop pkg-message
|
||||
SUB_LIST= JAVA_HOME=${JAVA_HOME}
|
||||
|
||||
WRKSRC= ${WRKDIR}/PhpStorm-223.7571.212
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ Name=PhpStorm
|
|||
GenericName=PhpStorm
|
||||
Comment=PhpStorm Integrated Development Environment
|
||||
Icon=%%DATADIR%%/bin/phpstorm.png
|
||||
Exec=%%DATADIR%%/bin/phpstorm.sh
|
||||
Exec=%%PREFIX%%/bin/phpstorm
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Categories=Application;Development;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
export PHPSTORM_JDK=${PHPSTORM_JDK:-"%%JAVA_HOME%%"}
|
||||
export SHELL="/bin/sh"
|
||||
|
||||
exec "%%DATADIR%%/bin/phpstorm.sh" "$@"
|
||||
|
|
Loading…
Reference in a new issue