java/intellij-ultimate: Update to 2017.2.5.

PR:		222472
Submitted by:	Ivan <bsd@abinet.ru>
Patch by:	Andrey Cherkashin <andoriyu@gmail.com> (maintainer)
This commit is contained in:
Boris Samorodov 2017-12-15 11:42:11 +00:00
parent 91d5f05623
commit c5c2330ea5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456392
3 changed files with 13019 additions and 581 deletions

View file

@ -4,11 +4,11 @@
# Based on the java/intellij port
PORTNAME= intellij-ultimate
PORTVERSION= 2016.2.5
PORTVERSION= 2017.2.5
CATEGORIES= java devel
MASTER_SITES= https://download.jetbrains.com/idea/ \
http://download.jetbrains.com/idea/
DISTNAME= ideaIU-${PORTVERSION}
DISTNAME= ideaIU-${PORTVERSION}-no-jdk
MAINTAINER= andoriyu@gmail.com
COMMENT= IntelliJ IDEA Ultimate Edition
@ -21,40 +21,47 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier \
intellij-pty4j>0:java/intellij-pty4j
USES= python:run shebangfix
USE_JAVA= yes
JAVA_VERSION= 1.8+
SHEBANG_FILES= bin/printenv.py bin/restart.py
NO_ARCH= yes
NO_ARCH_IGNORE= libnative_auth.so libnative_console.so libnative_filesystem.so \
libnative_misc.so libnative_synchronization.so
libnative_misc.so libnative_synchronization.so \
native-platform-freebsd-amd64-libcpp-0.14.jar native-platform-freebsd-amd64-libstdcpp-0.14.jar \
native-platform-freebsd-i386-libcpp-0.14.jar native-platform-freebsd-i386-libstdcpp-0.14.jar
NO_BUILD= yes
USE_LDCONFIG= ${IDEA_HOME}/plugins/tfsIntegration/lib/native/freebsd/x86_64/
USE_LDCONFIG32= ${IDEA_HOME}/plugins/tfsIntegration/lib/native/freebsd/x86/
WRKDIST= ${WRKDIR}/idea-IU-162.2228.15
WRKSRC= ${WRKDIR}/idea-IU-172.4343.14
.include "${.CURDIR}/../intellij/common.mk"
PLIST_SUB+= IDEA_HOME=${IDEA_HOME}
SUB_FILES+= idea idea.desktop pkg-message
SUB_LIST+= IDEA_HOME=${IDEA_HOME}
CONFLICTS= intellij-2016*
CONFLICTS= intellij-20*
do-install:
${MKDIR} ${STAGEDIR}${IDEA_HOME}
@${TAR} -czf - -C ${WRKDIST} . | ${TAR} xzf - -C ${STAGEDIR}${IDEA_HOME}
@${TAR} -czf - -C ${WRKSRC} . | ${TAR} xzf - -C ${STAGEDIR}${IDEA_HOME}
# Linux/Windows/OS X only so remove them
@${RM} ${STAGEDIR}${IDEA_HOME}/bin/fsnotifier \
${STAGEDIR}${IDEA_HOME}/bin/fsnotifier-arm \
${STAGEDIR}${IDEA_HOME}/bin/fsnotifier64 \
${STAGEDIR}${IDEA_HOME}/bin/libbreakgen.so \
${STAGEDIR}${IDEA_HOME}/bin/libbreakgen64.so \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-linux-amd64-0.10.jar \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-linux-i386-0.10.jar \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-osx-amd64-0.10.jar \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-osx-i386-0.10.jar \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-windows-amd64-0.10.jar \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-windows-i386-0.10.jar \
${STAGEDIR}${IDEA_HOME}/bin/libyjpagent-linux.so \
${STAGEDIR}${IDEA_HOME}/plugins/android/lib/gluegen-rt-natives-linux-*.jar \
${STAGEDIR}${IDEA_HOME}/plugins/android/lib/gluegen-rt-natives-macosx-universal.jar \
${STAGEDIR}${IDEA_HOME}/plugins/android/lib/gluegen-rt-natives-windows-*.jar \
${STAGEDIR}${IDEA_HOME}/plugins/android/lib/jogl-all-natives-linux-*.jar \
${STAGEDIR}${IDEA_HOME}/plugins/android/lib/jogl-all-natives-macosx-universal.jar \
${STAGEDIR}${IDEA_HOME}/plugins/android/lib/jogl-all-natives-windows-*.jar \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-linux-*.jar \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-osx-*.jar \
${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-windows-*.jar \
${STAGEDIR}${IDEA_HOME}/bin/libyjpagent-linux64.so
@${RM} -r ${STAGEDIR}${IDEA_HOME}/plugins/tfsIntegration/lib/native/hpux/ \
${STAGEDIR}${IDEA_HOME}/plugins/tfsIntegration/lib/native/linux/ \
@ -62,8 +69,6 @@ do-install:
${STAGEDIR}${IDEA_HOME}/plugins/tfsIntegration/lib/native/solaris/ \
${STAGEDIR}${IDEA_HOME}/plugins/tfsIntegration/lib/native/win32/ \
${STAGEDIR}${IDEA_HOME}/plugins/tfsIntegration/lib/native/aix/
# ${STRIP_CMD} ${STAGEDIR}${IDEA_HOME}/plugins/tfsIntegration/lib/native/freebsd/x86/*.so
# ${STRIP_CMD} ${STAGEDIR}${IDEA_HOME}/plugins/tfsIntegration/lib/native/freebsd/x86_64/*.so
# Remove the bundled native Pty4J support libraries, they are replaced
# by java/intellij-pty4j
@${RM} -r ${STAGEDIR}${IDEA_HOME}/lib/libpty
@ -72,12 +77,12 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/idea ${STAGEDIR}${PREFIX}/bin/idea
${INSTALL_MAN} ${FILESDIR}/idea.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_DATA} ${WRKDIR}/idea.desktop ${STAGEDIR}${PREFIX}/share/applications/
cd ${WRKDIST}/lib && ${JAVA_HOME}/bin/jar xf icons.jar
${INSTALL_DATA} ${WRKDIST}/lib/icon.png ${STAGEDIR}${IDEA_HOME}/idea.png
cd ${WRKSRC}/lib && ${JAVA_HOME}/bin/jar xf icons.jar
${INSTALL_DATA} ${WRKSRC}/lib/icon.png ${STAGEDIR}${IDEA_HOME}/idea.png
# TODO: Remove and enable fsnotifier when devel/libinotify is fixed
# Disable filewatcher warning message on IDEA startup
${ECHO} "idea.filewatcher.disabled=true" >> ${STAGEDIR}${IDEA_HOME}/bin/idea.properties
# Use fsnotifier replacement provided by java/intellij-fsnotifier
# ${ECHO} "idea.filewatcher.executable.path=${IDEA_HOME}/bin/fsnotifier" >> ${STAGEDIR}${IDEA_HOME}/bin/idea.properties
${ECHO} "idea.filewatcher.executable.path=${IDEA_HOME}/bin/fsnotifier" >> ${STAGEDIR}${IDEA_HOME}/bin/idea.properties
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1476812452
SHA256 (ideaIU-2016.2.5.tar.gz) = 30a4ddf82b8393fc22803c9335d6cb00087116dd09915e44f40f0433b81b1b3d
SIZE (ideaIU-2016.2.5.tar.gz) = 509791849
TIMESTAMP = 1509834217
SHA256 (ideaIU-2017.2.5-no-jdk.tar.gz) = 6649ec545093be46ebf2bf2d76e4b67597b2c92ea9ad80fe354db130994de45e
SIZE (ideaIU-2017.2.5-no-jdk.tar.gz) = 552916197

File diff suppressed because it is too large Load diff