devel/jetbrains-goland: Add default JDK runtime
PR: 268370 Reported by: dmitry.wagin@ya.ru (maintainer)
This commit is contained in:
parent
762a8c90b5
commit
c7805aea91
@ -1,5 +1,6 @@
|
||||
PORTNAME= goland
|
||||
PORTVERSION= 2022.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= https://download-cdn.jetbrains.com/go/
|
||||
PKGNAMEPREFIX= jetbrains-
|
||||
@ -20,8 +21,8 @@ RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier \
|
||||
lsof:sysutils/lsof
|
||||
|
||||
USES= cpe python:run shebangfix
|
||||
CPE_VENDOR= jetbrains
|
||||
|
||||
CPE_VENDOR= jetbrains
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 17+
|
||||
|
||||
@ -31,6 +32,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}/GoLand-${PORTVERSION}
|
||||
|
||||
|
@ -6,7 +6,7 @@ Name=GoLand
|
||||
GenericName=GoLand
|
||||
Comment=GoLand Integrated Development Environment
|
||||
Icon=%%DATADIR%%/bin/goland.png
|
||||
Exec=%%DATADIR%%/bin/goland.sh
|
||||
Exec=%%PREFIX%%/bin/goland
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Categories=Application;Development;
|
||||
|
@ -1,3 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
export GOLAND_JDK=${GOLAND_JDK:-"%%JAVA_HOME%%"}
|
||||
export SHELL="/bin/sh"
|
||||
|
||||
exec "%%DATADIR%%/bin/goland.sh" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user