ports/devel/jetbrains-phpstorm/Makefile
Dmitry Wagin b0d11d42db devel/jetbrains-phpstorm: Update to 2024.1.4
ChangeLog:
https://youtrack.jetbrains.com/articles/WI-A-231736133/PhpStorm-2024.1.4-241.18034.69-build-Release-Notes

 * Bug 	2024.1 RC: "Write access is allowed inside write-action only" when
   trying to start run config
 * Bug 	CSS class auto-completion for Tailwind does not work when using a remote
   Node.js interpreter (Docker/ssh)
 * Bug 	Cancellation causes "Too complex" message
 * Bug 	Cannot update plugin from welcome screen: " Write-unsafe context! Model
   changes are allowed from write-safe contexts only"
 * Bug 	Code Style setting for colon between property name and value doesn't
   work in Vue component
 * Bug 	Database sessions's "Filter rows" is hiding unsubmitted changes
 * Bug 	Dump tools in container: can't restore from mysql dump file inside
   container filesystem
 * Bug 	Dump tools in container: passwords are not passed to dump tools
 * Bug 	Dump tools use invalid port when executable is in docker container
 * Bug 	Duplicated items when creating / dropping object in non default schema
   with disabled auto sync
 * Bug 	File Templates children are not loaded after IDE restart
 * Bug 	IDE cannot load inspection profile settings for inspections
 * Bug 	Inspections do not re-evaluate/refresh during editing
 * Bug 	Introspection of a family misses newly created tables
 * Bug 	Kubernetes: on reload content from cluster with button in editor for
   newly created resource get java.lang.Throwable: Light files should have PSI
   only in one project,
 * Bug 	MongoDB: Incorrect stub generation for files with more than one PsiFile
 * Bug 	Playwright tests are not running on WSL and Docker
 * Bug 	Project-wide analysis missing from problems tool window
 * Bug 	Run widget: chevron is shifted down
 * Bug 	There is not button (reload content from cluster) in kubernetes plugin
   in IntelliJ IDEA 2023
 * Bug 	Unable to attach script to database session
 * Bug 	background of actions on main toolbar get stuck
 * IDE. Installation 	Try Ultimate: get rid of Start Trial confirmation dialog
 * Performance 	Caret movement / input lag when filename widget is shortened
 * Performance 	Getting types from TS Server blocks typing
 * Performance 	Global Slowdown since 2024.1.2.
 * Performance 	When both "show tool window names" and setting background images
   are enabled, it causes severe input lag and cursor movement lag
 * Task 	Update SDK in IDEA to 1.1.181286
 * Usability 	Dump tools in container: file template resets on path selection
 * Usability 	Dump tools in container: notify user when dump is finished
 * Usability 	Dump tools in container: path to dump by default set to local
   file system
 * Usability 	Use the same wording for dump / restore tools context menu

PR:		279923
Reported by:	dmitry.wagin@ya.ru (maintainer)
2024-06-25 18:15:57 +02:00

91 lines
3.5 KiB
Makefile

PORTNAME= phpstorm
PORTVERSION= 2024.1.4
CATEGORIES= devel
MASTER_SITES= https://download-cdn.jetbrains.com/webide/
PKGNAMEPREFIX= jetbrains-
DISTNAME= PhpStorm-${PORTVERSION}
DIST_SUBDIR= jetbrains
MAINTAINER= dmitry.wagin@ya.ru
COMMENT= JetBrains PhpStorm IDE
WWW= https://www.jetbrains.com/phpstorm/
LICENSE= IntelliJ-PhpStorm
LICENSE_NAME= Subscription license agreement for business and organizations
LICENSE_TEXT= See: https://www.jetbrains.com/store/license.html
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
ONLY_FOR_ARCHS= aarch64 amd64
BUILD_DEPENDS= jna>0:devel/jna
RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier \
jetbrains-pty4j>=0.12.25:devel/jetbrains-pty4j \
jetbrains-restarter>=241.15989.150:devel/jetbrains-restarter \
jetbrains-sqlite>=241.15989.150:devel/jetbrains-sqlite \
lsof:sysutils/lsof
USES= cpe python:run
CPE_VENDOR= jetbrains
USE_JAVA= yes
JAVA_VERSION= 17+
DATADIR= ${PREFIX}/share/jetbrains/${PORTNAME}
NO_BUILD= yes
SUB_FILES= ${PORTNAME} ${PORTNAME}.desktop pkg-message
SUB_LIST= JAVA_HOME=${JAVA_HOME}
WRKSRC= ${WRKDIR}/PhpStorm-241.18034.69
_PTY4J_ARCH= freebsd/${ARCH:S/amd64/x86-64/}
_SQLITE_ARCH= linux-${ARCH:S/amd64/x86_64/}
PLIST_SUB+= ARCH=${ARCH} \
PTY4J_ARCH=${_PTY4J_ARCH} \
SQLITE_ARCH=${_SQLITE_ARCH}
do-install:
# Linux/Windows/OS X only so remove them
@${RM} -r \
${WRKSRC}/bin/fsnotifier \
${WRKSRC}/bin/remote-dev-server \
${WRKSRC}/bin/remote-dev-server.sh \
${WRKSRC}/bin/repair \
${WRKSRC}/bin/restarter \
${WRKSRC}/jbr \
${WRKSRC}/lib/async-profiler \
${WRKSRC}/lib/jna \
${WRKSRC}/lib/native \
${WRKSRC}/lib/pty4j \
${WRKSRC}/plugins/clouds-docker-gateway \
${WRKSRC}/plugins/clouds-docker-impl \
${WRKSRC}/plugins/cwm-plugin \
${WRKSRC}/plugins/gateway-plugin \
${WRKSRC}/plugins/gateway-terminal \
${WRKSRC}/plugins/remote-dev-server \
${WRKSRC}/plugins/webp/lib/libwebp
${MKDIR} ${STAGEDIR}${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
"! -name *\.bak ! -name *\.so ! -name *\.dll ! -name *\.dylib ! -name *\.pdb ! -name *\.sh ! -name *\.exe")
@(cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/bin/ \
"-name *\.sh -o -name *\.py")
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
# Use fsnotifier replacement provided by java/intellij-fsnotifier
${ECHO} "idea.filewatcher.executable.path=${PREFIX}/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
# Install FreeBSD native lib provided by devel/jna
@${MKDIR} ${WRKDIR}/jna
@(cd ${WRKDIR}/jna && ${JAR} xf ${JAVAJARDIR}/jna-platform.jar libjnidispatch.so)
${MKDIR} ${STAGEDIR}${DATADIR}/lib/jna/${ARCH}
${INSTALL_LIB} ${WRKDIR}/jna/libjnidispatch.so ${STAGEDIR}${DATADIR}/lib/jna/${ARCH}/
# Use pty4j replacement provided by devel/jetbrains-pty4j
${MKDIR} ${STAGEDIR}${DATADIR}/lib/pty4j/${_PTY4J_ARCH}
${LN} -sf ../../../../../pty4j/${ARCH}/libpty.so ${STAGEDIR}${DATADIR}/lib/pty4j/${_PTY4J_ARCH}/libpty.so
# Use restarter provided by devel/jetbrains-restarter
${LN} -sf ../../restarter/restarter ${STAGEDIR}${DATADIR}/bin/restarter
# Use sqlite replacement provided by devel/jetbrains-sqlite
${MKDIR} ${STAGEDIR}${DATADIR}/lib/native/${_SQLITE_ARCH}
${LN} -sf ../../../../sqlite/${ARCH}/libsqliteij.so ${STAGEDIR}${DATADIR}/lib/native/${_SQLITE_ARCH}/libsqliteij.so
.include <bsd.port.mk>