Lines 5-10
Link Here
|
5 |
|
5 |
|
6 |
PORTNAME= intellij-ultimate |
6 |
PORTNAME= intellij-ultimate |
7 |
PORTVERSION= 2019.2 |
7 |
PORTVERSION= 2019.2 |
|
|
8 |
PORTREVISION= 1 |
8 |
CATEGORIES= java devel |
9 |
CATEGORIES= java devel |
9 |
MASTER_SITES= https://download-cf.jetbrains.com/idea/ |
10 |
MASTER_SITES= https://download-cf.jetbrains.com/idea/ |
10 |
DISTNAME= ideaIU-${PORTVERSION}-no-jbr |
11 |
DISTNAME= ideaIU-${PORTVERSION}-no-jbr |
Lines 18-30
Link Here
|
18 |
LICENSE_TEXT= See: https://www.jetbrains.com/store/license.html |
19 |
LICENSE_TEXT= See: https://www.jetbrains.com/store/license.html |
19 |
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept |
20 |
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept |
20 |
|
21 |
|
21 |
RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier \ |
22 |
RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier |
22 |
intellij-pty4j>0:java/intellij-pty4j |
|
|
23 |
|
23 |
|
24 |
USES= python:run shebangfix |
24 |
USES= python:run shebangfix |
25 |
|
25 |
|
26 |
USE_JAVA= yes |
26 |
USE_JAVA= yes |
27 |
JAVA_VERSION= 1.8+ |
27 |
JAVA_VERSION= 8+ |
28 |
|
28 |
|
29 |
SHEBANG_FILES= bin/printenv.py bin/restart.py \ |
29 |
SHEBANG_FILES= bin/printenv.py bin/restart.py \ |
30 |
plugins/spy-js/server/node_modules/node-uuid/benchmark/bench.sh \ |
30 |
plugins/spy-js/server/node_modules/node-uuid/benchmark/bench.sh \ |
Lines 32-43
Link Here
|
32 |
plugins/spy-js/server/proxy-osx.sh |
32 |
plugins/spy-js/server/proxy-osx.sh |
33 |
|
33 |
|
34 |
NO_ARCH= yes |
34 |
NO_ARCH= yes |
|
|
35 |
NO_ARCH_IGNORE= libjansi.so |
35 |
NO_BUILD= yes |
36 |
NO_BUILD= yes |
36 |
|
37 |
|
37 |
WRKSRC= ${WRKDIR}/idea-IU-192.5728.98 |
38 |
WRKSRC= ${WRKDIR}/idea-IU-192.5728.98 |
38 |
|
39 |
|
39 |
SUB_FILES= idea idea.desktop pkg-message |
40 |
SUB_FILES= idea idea.desktop pkg-message |
40 |
SUB_LIST= DATADIR=${DATADIR} |
|
|
41 |
CONFLICTS= intellij-20* |
41 |
CONFLICTS= intellij-20* |
42 |
|
42 |
|
43 |
do-install: |
43 |
do-install: |
Lines 45-61
Link Here
|
45 |
@${RM} -r ${WRKSRC}/bin/fsnotifier \ |
45 |
@${RM} -r ${WRKSRC}/bin/fsnotifier \ |
46 |
${WRKSRC}/bin/fsnotifier-arm \ |
46 |
${WRKSRC}/bin/fsnotifier-arm \ |
47 |
${WRKSRC}/bin/fsnotifier64 \ |
47 |
${WRKSRC}/bin/fsnotifier64 \ |
|
|
48 |
${WRKSRC}/bin/libdbm64.so \ |
49 |
${WRKSRC}/lib/pty4j-native/ \ |
48 |
${WRKSRC}/plugins/android/lib/libwebp \ |
50 |
${WRKSRC}/plugins/android/lib/libwebp \ |
49 |
${WRKSRC}/plugins/maven/lib/maven3/lib/jansi-native \ |
51 |
${WRKSRC}/plugins/maven/lib/maven3/lib/jansi-native/linux32/ \ |
|
|
52 |
${WRKSRC}/plugins/maven/lib/maven3/lib/jansi-native/linux64/ \ |
53 |
${WRKSRC}/plugins/maven/lib/maven3/lib/jansi-native/osx/ \ |
54 |
${WRKSRC}/plugins/maven/lib/maven3/lib/jansi-native/windows32/ \ |
55 |
${WRKSRC}/plugins/maven/lib/maven3/lib/jansi-native/windows64/ \ |
50 |
${WRKSRC}/plugins/performanceTesting/bin |
56 |
${WRKSRC}/plugins/performanceTesting/bin |
51 |
# Remove the bundled native Pty4J support libraries, they are replaced |
|
|
52 |
# by java/intellij-pty4j |
53 |
@${RM} -r ${WRKSRC}/lib/pty4j-native |
54 |
# Remove bundled linux JetBrains Runtime and OpenJDK |
55 |
@${RM} -r ${WRKSRC}/jbr ${WRKSRC}/jre64 |
56 |
${MKDIR} ${STAGEDIR}${DATADIR} |
57 |
${MKDIR} ${STAGEDIR}${DATADIR} |
57 |
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \ |
58 |
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \ |
58 |
"! -name *\.so ! -name *\.dll ! -name *\.dylib ! -name *\.pdb ! -name *\.sh") |
59 |
"! -name *\.so ! -name *\.dll ! -name *\.dylib ! -name *\.pdb ! -name *\.sh") |
|
|
60 |
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "-name *\.so") |
61 |
@${STRIP_CMD} \ |
62 |
${STAGEDIR}${DATADIR}/plugins/maven/lib/maven3/lib/jansi-native/freebsd32/libjansi.so \ |
63 |
${STAGEDIR}${DATADIR}/plugins/maven/lib/maven3/lib/jansi-native/freebsd64/libjansi.so |
59 |
@(cd ${WRKSRC} && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR} "-name *\.sh") |
64 |
@(cd ${WRKSRC} && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR} "-name *\.sh") |
60 |
${INSTALL_SCRIPT} ${WRKDIR}/idea ${STAGEDIR}${PREFIX}/bin/idea |
65 |
${INSTALL_SCRIPT} ${WRKDIR}/idea ${STAGEDIR}${PREFIX}/bin/idea |
61 |
${INSTALL_MAN} ${FILESDIR}/idea.1 ${STAGEDIR}${PREFIX}/man/man1 |
66 |
${INSTALL_MAN} ${FILESDIR}/idea.1 ${STAGEDIR}${PREFIX}/man/man1 |
Lines 62-67
Link Here
|
62 |
${INSTALL_DATA} ${WRKDIR}/idea.desktop ${STAGEDIR}${PREFIX}/share/applications/ |
67 |
${INSTALL_DATA} ${WRKDIR}/idea.desktop ${STAGEDIR}${PREFIX}/share/applications/ |
63 |
# Use fsnotifier replacement provided by java/intellij-fsnotifier |
68 |
# Use fsnotifier replacement provided by java/intellij-fsnotifier |
64 |
${ECHO} "idea.filewatcher.executable.path=${PREFIX}/intellij/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties |
69 |
${ECHO} "idea.filewatcher.executable.path=${PREFIX}/intellij/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties |
|
|
70 |
# Fix "Typeahead timeout is exceeded" error |
71 |
${ECHO} "action.aware.typeAhead=false" >> ${STAGEDIR}${DATADIR}/bin/idea.properties |
65 |
# Fix slow render |
72 |
# Fix slow render |
66 |
${ECHO} "-Dsun.java2d.xrender=false" >> ${STAGEDIR}${DATADIR}/bin/idea.vmoptions |
73 |
${ECHO} "-Dsun.java2d.xrender=false" >> ${STAGEDIR}${DATADIR}/bin/idea.vmoptions |
67 |
${ECHO} "-Dsun.java2d.xrender=false" >> ${STAGEDIR}${DATADIR}/bin/idea64.vmoptions |
74 |
${ECHO} "-Dsun.java2d.xrender=false" >> ${STAGEDIR}${DATADIR}/bin/idea64.vmoptions |