View | Details | Raw Unified | Return to bug 207474 | Differences between
and this patch

Collapse All | Expand All

(-)java/Makefile (+2 lines)
Lines 29-34 Link Here
29
    SUBDIR += icedtea-web
29
    SUBDIR += icedtea-web
30
    SUBDIR += infobus
30
    SUBDIR += infobus
31
    SUBDIR += intellij
31
    SUBDIR += intellij
32
    SUBDIR += intellij-fsnotifier
33
    SUBDIR += intellij-pty4j
32
    SUBDIR += jad
34
    SUBDIR += jad
33
    SUBDIR += jaf
35
    SUBDIR += jaf
34
    SUBDIR += jai
36
    SUBDIR += jai
(-)java/intellij/Makefile (-49 / +17 lines)
Lines 5-17 Link Here
5
# Vadim Zhukov <zhuk@openbsd.org>
5
# Vadim Zhukov <zhuk@openbsd.org>
6
6
7
PORTNAME=	intellij
7
PORTNAME=	intellij
8
PORTVERSION=	15.0.3
8
PORTVERSION=	15.0.4
9
CATEGORIES=	java devel
9
CATEGORIES=	java devel
10
MASTER_SITES=	https://download.jetbrains.com/idea/:jetbrains \
10
MASTER_SITES=	https://download.jetbrains.com/idea/ \
11
		http://download.jetbrains.com/idea/:jetbrains \
11
		http://download.jetbrains.com/idea/
12
		GH:pty4j
12
DISTNAME=	ideaIC-${PORTVERSION}
13
DISTFILES=	ideaIC-${PORTVERSION}.tar.gz:jetbrains \
14
		${DISTNAME}.tar.gz:pty4j
15
13
16
MAINTAINER=	t@tobik.me
14
MAINTAINER=	t@tobik.me
17
COMMENT=	IntelliJ IDEA Community Edition
15
COMMENT=	IntelliJ IDEA Community Edition
Lines 18-69 Link Here
18
16
19
LICENSE=	APACHE20
17
LICENSE=	APACHE20
20
18
21
# Upstream has merged pty4j FreeBSD support but no offical release/tag
19
RUN_DEPENDS=	intellij-fsnotifier>0:${PORTSDIR}/java/intellij-fsnotifier \
22
# with it yet
20
		intellij-pty4j>0:${PORTSDIR}/java/intellij-pty4j
23
USE_GITHUB=	yes
24
GH_ACCOUNT=	traff
25
GH_PROJECT=	pty4j
26
GH_TAGNAME=	335982264104fd4529f2ee75f08d1e1d9f9d544a
27
21
28
USE_JAVA=	yes
22
USE_JAVA=	yes
29
JAVA_VERSION=	1.7+
23
JAVA_VERSION=	1.7+
30
24
31
WRKDIST=	${WRKDIR}/idea-IC-143.1821.5
25
NO_ARCH=	yes
26
NO_BUILD=	yes
32
27
33
IDEA_HOME=	${PREFIX}/${PORTNAME}
28
WRKDIST=	${WRKDIR}/idea-IC-143.2287.1
34
29
35
USES=	gmake
30
.include "common.mk"
36
31
37
PLIST_SUB+=	IDEA_HOME=${IDEA_HOME} \
32
PLIST_SUB+=	IDEA_HOME=${IDEA_HOME}
38
		PTY4J_ARCH=${PTY4J_ARCH}
39
SUB_FILES+=	idea idea.desktop
33
SUB_FILES+=	idea idea.desktop
40
SUB_LIST+=	IDEA_HOME=${IDEA_HOME}
34
SUB_LIST+=	IDEA_HOME=${IDEA_HOME}
41
35
42
.include <bsd.port.options.mk>
43
44
# The directory we need to install Pty4J's native library in depends
45
# on the install target's architecture.  We rebuild libpty.so instead
46
# of using one of the bundled ones which are FreeBSD 10.x only.
47
.if ${ARCH} == "amd64"
48
PTY4J_ARCH=	x86_64
49
.elif ${ARCH} == "i386"
50
PTY4J_ARCH=	x86
51
.else
52
PTY4J_ARCH=
53
.endif
54
55
.if ${PTY4J_ARCH} != ""
56
# Despite what the name might suggest using the linux_x86_64 target
57
# will always build libpty.so for the native platform.
58
BUILD_WRKSRC=	${WRKSRC}/native
59
MAKEFILE=	Makefile_freebsd
60
ALL_TARGET=	linux_x86_64
61
.else
62
# If native Pty4J support is missing IntelliJ IDEA will still work but
63
# without the ability to open terminals.
64
NO_BUILD=	yes
65
.endif
66
67
do-install:
36
do-install:
68
	${MKDIR} ${STAGEDIR}${IDEA_HOME}
37
	${MKDIR} ${STAGEDIR}${IDEA_HOME}
69
	@${TAR} -czf - -C ${WRKDIST} . | ${TAR} xzf - -C ${STAGEDIR}${IDEA_HOME}
38
	@${TAR} -czf - -C ${WRKDIST} . | ${TAR} xzf - -C ${STAGEDIR}${IDEA_HOME}
Lines 79-98 Link Here
79
		${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-osx-i386-0.10.jar \
48
		${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-osx-i386-0.10.jar \
80
		${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-windows-amd64-0.10.jar \
49
		${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-windows-amd64-0.10.jar \
81
		${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-windows-i386-0.10.jar
50
		${STAGEDIR}${IDEA_HOME}/plugins/gradle/lib/native-platform-windows-i386-0.10.jar
82
# Remove the bundled native Pty4J support libraries and replace with our own
51
# Remove the bundled native Pty4J support libraries, they are replaced
52
# by java/intellij-pty4j
83
	@${RM} -r ${STAGEDIR}${IDEA_HOME}/lib/libpty
53
	@${RM} -r ${STAGEDIR}${IDEA_HOME}/lib/libpty
84
.if ${PTY4J_ARCH} != ""
54
	@${RM} ${STAGEDIR}${IDEA_HOME}/lib/pty4j-0.5.jar
85
	${MKDIR} ${STAGEDIR}${IDEA_HOME}/lib/libpty/freebsd/${PTY4J_ARCH}
86
# See above why we always use freebsd/x86_64/ here
87
	${INSTALL_LIB} ${WRKSRC}/os/freebsd/x86_64/libpty.so ${STAGEDIR}${IDEA_HOME}/lib/libpty/freebsd/${PTY4J_ARCH}/
88
	${INSTALL_DATA} ${WRKSRC}/build/pty4j-0.5.jar ${STAGEDIR}${IDEA_HOME}/lib/pty4j-0.5.jar
89
.endif
90
	${INSTALL_SCRIPT} ${WRKDIR}/idea ${STAGEDIR}${PREFIX}/bin/idea
55
	${INSTALL_SCRIPT} ${WRKDIR}/idea ${STAGEDIR}${PREFIX}/bin/idea
91
	${INSTALL_MAN} ${FILESDIR}/idea.1 ${STAGEDIR}${PREFIX}/man/man1
56
	${INSTALL_MAN} ${FILESDIR}/idea.1 ${STAGEDIR}${PREFIX}/man/man1
92
	${INSTALL_DATA} ${WRKDIR}/idea.desktop ${STAGEDIR}${PREFIX}/share/applications/
57
	${INSTALL_DATA} ${WRKDIR}/idea.desktop ${STAGEDIR}${PREFIX}/share/applications/
93
	cd ${WRKDIST}/lib && ${JAVA_HOME}/bin/jar xf icons.jar
58
	cd ${WRKDIST}/lib && ${JAVA_HOME}/bin/jar xf icons.jar
94
	${INSTALL_DATA} ${WRKDIST}/lib/icon.png ${STAGEDIR}${IDEA_HOME}/idea.png
59
	${INSTALL_DATA} ${WRKDIST}/lib/icon.png ${STAGEDIR}${IDEA_HOME}/idea.png
60
# TODO: Remove and enable fsnotifier when devel/libinotify is fixed
95
# Disable filewatcher warning message on IDEA startup
61
# Disable filewatcher warning message on IDEA startup
96
	${ECHO} "idea.filewatcher.disabled=true" >> ${STAGEDIR}${IDEA_HOME}/bin/idea.properties
62
	${ECHO} "idea.filewatcher.disabled=true" >> ${STAGEDIR}${IDEA_HOME}/bin/idea.properties
63
# Use fsnotifier replacement provided by java/intellij-fsnotifier
64
#	${ECHO} "idea.filewatcher.executable.path=${IDEA_HOME}/bin/fsnotifier" >> ${STAGEDIR}${IDEA_HOME}/bin/idea.properties
97
65
98
.include <bsd.port.mk>
66
.include <bsd.port.mk>
(-)java/intellij/common.mk (+5 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
# Common settings for the java/intellij* ports
4
5
IDEA_HOME=${PREFIX}/intellij
(-)java/intellij/distinfo (-4 / +2 lines)
Lines 1-4 Link Here
1
SHA256 (ideaIC-15.0.3.tar.gz) = 0a4b755f3a48b3b5ad1000e17a92462c33ad5a8cc4912d6e276bbc4bf1241296
1
SHA256 (ideaIC-15.0.4.tar.gz) = 7653edd0687de6948b3c5b128c0683c96f89dea96bedd995a279f4d359816a16
2
SIZE (ideaIC-15.0.3.tar.gz) = 232760076
2
SIZE (ideaIC-15.0.4.tar.gz) = 234258484
3
SHA256 (traff-pty4j-15.0.3-335982264104fd4529f2ee75f08d1e1d9f9d544a_GH0.tar.gz) = bf2ffe37e9ecc5cbca879023ce7822461b1996c4affc50aa71265bce5cda6e93
4
SIZE (traff-pty4j-15.0.3-335982264104fd4529f2ee75f08d1e1d9f9d544a_GH0.tar.gz) = 4856849
(-)java/intellij/files/pkg-message.in (+8 lines)
Line 0 Link Here
1
There is experimental native (faster) file watching support which is
2
disabled by default.  Currently there are problems with watching large
3
trees.  To enable edit %%IDEA_HOME%%/bin/idea.properties and append
4
5
      idea.filewatcher.disabled=false
6
      idea.filewatcher.executable.path=%%IDEA_HOME%%/bin/fsnotifier
7
8
Only enable fsnotifier if your projects have < 600 files.
(-)java/intellij/pkg-plist (-30 / +29 lines)
Lines 1-12 Link Here
1
bin/idea
2
%%IDEA_HOME%%/idea.png
3
%%IDEA_HOME%%/Install-Linux-tar.txt
1
%%IDEA_HOME%%/Install-Linux-tar.txt
4
%%IDEA_HOME%%/LICENSE.txt
2
%%IDEA_HOME%%/LICENSE.txt
5
%%IDEA_HOME%%/NOTICE.txt
3
%%IDEA_HOME%%/NOTICE.txt
6
%%IDEA_HOME%%/bin/appletviewer.policy
4
%%IDEA_HOME%%/bin/appletviewer.policy
7
@comment %%IDEA_HOME%%/bin/fsnotifier
8
@comment %%IDEA_HOME%%/bin/fsnotifier-arm
9
@comment %%IDEA_HOME%%/bin/fsnotifier64
10
%%IDEA_HOME%%/bin/idea.png
5
%%IDEA_HOME%%/bin/idea.png
11
%%IDEA_HOME%%/bin/idea.properties
6
%%IDEA_HOME%%/bin/idea.properties
12
%%IDEA_HOME%%/bin/idea.sh
7
%%IDEA_HOME%%/bin/idea.sh
Lines 13-22 Link Here
13
%%IDEA_HOME%%/bin/idea.vmoptions
8
%%IDEA_HOME%%/bin/idea.vmoptions
14
%%IDEA_HOME%%/bin/idea64.vmoptions
9
%%IDEA_HOME%%/bin/idea64.vmoptions
15
%%IDEA_HOME%%/bin/inspect.sh
10
%%IDEA_HOME%%/bin/inspect.sh
16
@comment %%IDEA_HOME%%/bin/libbreakgen.so
17
@comment %%IDEA_HOME%%/bin/libbreakgen64.so
18
%%IDEA_HOME%%/bin/log.xml
11
%%IDEA_HOME%%/bin/log.xml
19
%%IDEA_HOME%%/build.txt
12
%%IDEA_HOME%%/build.txt
13
%%IDEA_HOME%%/idea.png
20
%%IDEA_HOME%%/lib/annotations.jar
14
%%IDEA_HOME%%/lib/annotations.jar
21
%%IDEA_HOME%%/lib/ant/INSTALL
15
%%IDEA_HOME%%/lib/ant/INSTALL
22
%%IDEA_HOME%%/lib/ant/KEYS
16
%%IDEA_HOME%%/lib/ant/KEYS
Lines 136-153 Link Here
136
%%IDEA_HOME%%/lib/jzlib-1.1.1.jar
130
%%IDEA_HOME%%/lib/jzlib-1.1.1.jar
137
%%IDEA_HOME%%/lib/kotlin-reflect.jar
131
%%IDEA_HOME%%/lib/kotlin-reflect.jar
138
%%IDEA_HOME%%/lib/kotlin-runtime.jar
132
%%IDEA_HOME%%/lib/kotlin-runtime.jar
139
%%IDEA_HOME%%/lib/libpty/freebsd/%%PTY4J_ARCH%%/libpty.so
140
@comment %%IDEA_HOME%%/lib/libpty/linux/x86/libpty.so
141
@comment %%IDEA_HOME%%/lib/libpty/linux/x86_64/libpty.so
142
@comment %%IDEA_HOME%%/lib/libpty/macosx/x86/libpty.dylib
143
@comment %%IDEA_HOME%%/lib/libpty/macosx/x86_64/libpty.dylib
144
@comment %%IDEA_HOME%%/lib/libpty/win/x86/libwinpty.dll
145
@comment %%IDEA_HOME%%/lib/libpty/win/x86/winpty-agent.exe
146
@comment %%IDEA_HOME%%/lib/libpty/win/x86_64/cyglaunch.exe
147
@comment %%IDEA_HOME%%/lib/libpty/win/x86_64/libwinpty.dll
148
@comment %%IDEA_HOME%%/lib/libpty/win/x86_64/winpty-agent.exe
149
@comment %%IDEA_HOME%%/lib/libpty/win/xp/libwinpty.dll
150
@comment %%IDEA_HOME%%/lib/libpty/win/xp/winpty-agent.exe
151
%%IDEA_HOME%%/lib/log4j.jar
133
%%IDEA_HOME%%/lib/log4j.jar
152
%%IDEA_HOME%%/lib/markdown4j-2.2.jar
134
%%IDEA_HOME%%/lib/markdown4j-2.2.jar
153
%%IDEA_HOME%%/lib/markdownj-core-0.4.2-SNAPSHOT.jar
135
%%IDEA_HOME%%/lib/markdownj-core-0.4.2-SNAPSHOT.jar
Lines 162-168 Link Here
162
%%IDEA_HOME%%/lib/picocontainer.jar
144
%%IDEA_HOME%%/lib/picocontainer.jar
163
%%IDEA_HOME%%/lib/protobuf-2.5.0.jar
145
%%IDEA_HOME%%/lib/protobuf-2.5.0.jar
164
%%IDEA_HOME%%/lib/proxy-vole_20131209.jar
146
%%IDEA_HOME%%/lib/proxy-vole_20131209.jar
165
%%IDEA_HOME%%/lib/pty4j-0.5.jar
166
%%IDEA_HOME%%/lib/purejavacomm.jar
147
%%IDEA_HOME%%/lib/purejavacomm.jar
167
%%IDEA_HOME%%/lib/resolver.jar
148
%%IDEA_HOME%%/lib/resolver.jar
168
%%IDEA_HOME%%/lib/resources.jar
149
%%IDEA_HOME%%/lib/resources.jar
Lines 254-260 Link Here
254
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/android-compiler-plugin.jar
235
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/android-compiler-plugin.jar
255
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-android-sdk-annotations.jar
236
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-android-sdk-annotations.jar
256
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-ant.jar
237
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-ant.jar
238
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-build-common.jar
257
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-compiler.jar
239
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-compiler.jar
240
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-daemon-client.jar
258
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-jdk-annotations.jar
241
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-jdk-annotations.jar
259
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-jslib-sources.jar
242
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-jslib-sources.jar
260
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-jslib.jar
243
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-jslib.jar
Lines 263-268 Link Here
263
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-runner.jar
246
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-runner.jar
264
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-runtime-sources.jar
247
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-runtime-sources.jar
265
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-runtime.jar
248
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-runtime.jar
249
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-test.jar
266
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/license/LICENSE.txt
250
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/license/LICENSE.txt
267
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/license/NOTICE.txt
251
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/license/NOTICE.txt
268
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/license/third_party/args4j_LICENSE.txt
252
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/license/third_party/args4j_LICENSE.txt
Lines 276-288 Link Here
276
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/license/third_party/rhino_LICENSE.txt
260
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/license/third_party/rhino_LICENSE.txt
277
%%IDEA_HOME%%/plugins/Kotlin/lib/javax.inject.jar
261
%%IDEA_HOME%%/plugins/Kotlin/lib/javax.inject.jar
278
%%IDEA_HOME%%/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar
262
%%IDEA_HOME%%/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar
263
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar
264
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-android-extensions-plugin.jar
279
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-plugin.jar
265
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-plugin.jar
280
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-reflect.jar
266
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-reflect.jar
281
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-runtime.jar
267
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-runtime.jar
282
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-daemon-client.jar
283
%%IDEA_HOME%%/plugins/Kotlin/kotlinc/lib/kotlin-test.jar
284
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-android-extensions-compiler-plugin.jar
285
%%IDEA_HOME%%/plugins/Kotlin/lib/kotlin-android-extensions-plugin.jar
286
%%IDEA_HOME%%/plugins/Kotlin/lib/markdown.jar
268
%%IDEA_HOME%%/plugins/Kotlin/lib/markdown.jar
287
%%IDEA_HOME%%/plugins/android/lib/GoogleFeedback.jar
269
%%IDEA_HOME%%/plugins/android/lib/GoogleFeedback.jar
288
%%IDEA_HOME%%/plugins/android/lib/android-common.jar
270
%%IDEA_HOME%%/plugins/android/lib/android-common.jar
Lines 1462-1473 Link Here
1462
%%IDEA_HOME%%/plugins/gradle/lib/native-platform-0.10.jar
1444
%%IDEA_HOME%%/plugins/gradle/lib/native-platform-0.10.jar
1463
%%IDEA_HOME%%/plugins/gradle/lib/native-platform-freebsd-amd64-0.10.jar
1445
%%IDEA_HOME%%/plugins/gradle/lib/native-platform-freebsd-amd64-0.10.jar
1464
%%IDEA_HOME%%/plugins/gradle/lib/native-platform-freebsd-i386-0.10.jar
1446
%%IDEA_HOME%%/plugins/gradle/lib/native-platform-freebsd-i386-0.10.jar
1465
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-linux-amd64-0.10.jar
1466
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-linux-i386-0.10.jar
1467
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-osx-amd64-0.10.jar
1468
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-osx-i386-0.10.jar
1469
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-windows-amd64-0.10.jar
1470
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-windows-i386-0.10.jar
1471
%%IDEA_HOME%%/plugins/gradle/lib/objenesis-1.2.jar
1447
%%IDEA_HOME%%/plugins/gradle/lib/objenesis-1.2.jar
1472
%%IDEA_HOME%%/plugins/gradle/lib/reflectasm-1.07.jar
1448
%%IDEA_HOME%%/plugins/gradle/lib/reflectasm-1.07.jar
1473
%%IDEA_HOME%%/plugins/gradle/lib/resources_en.jar
1449
%%IDEA_HOME%%/plugins/gradle/lib/resources_en.jar
Lines 1637-1641 Link Here
1637
%%IDEA_HOME%%/plugins/xslt-debugger/lib/xslt-debugger-engine.jar
1613
%%IDEA_HOME%%/plugins/xslt-debugger/lib/xslt-debugger-engine.jar
1638
%%IDEA_HOME%%/plugins/xslt-debugger/lib/xslt-debugger.jar
1614
%%IDEA_HOME%%/plugins/xslt-debugger/lib/xslt-debugger.jar
1639
%%IDEA_HOME%%/redist/annotations-java8.jar
1615
%%IDEA_HOME%%/redist/annotations-java8.jar
1616
@comment %%IDEA_HOME%%/bin/fsnotifier
1617
@comment %%IDEA_HOME%%/bin/fsnotifier-arm
1618
@comment %%IDEA_HOME%%/bin/fsnotifier64
1619
@comment %%IDEA_HOME%%/bin/libbreakgen.so
1620
@comment %%IDEA_HOME%%/bin/libbreakgen64.so
1621
@comment %%IDEA_HOME%%/lib/libpty/linux/x86/libpty.so
1622
@comment %%IDEA_HOME%%/lib/libpty/linux/x86_64/libpty.so
1623
@comment %%IDEA_HOME%%/lib/libpty/macosx/x86/libpty.dylib
1624
@comment %%IDEA_HOME%%/lib/libpty/macosx/x86_64/libpty.dylib
1625
@comment %%IDEA_HOME%%/lib/libpty/win/x86/libwinpty.dll
1626
@comment %%IDEA_HOME%%/lib/libpty/win/x86/winpty-agent.exe
1627
@comment %%IDEA_HOME%%/lib/libpty/win/x86_64/cyglaunch.exe
1628
@comment %%IDEA_HOME%%/lib/libpty/win/x86_64/libwinpty.dll
1629
@comment %%IDEA_HOME%%/lib/libpty/win/x86_64/winpty-agent.exe
1630
@comment %%IDEA_HOME%%/lib/libpty/win/xp/libwinpty.dll
1631
@comment %%IDEA_HOME%%/lib/libpty/win/xp/winpty-agent.exe
1632
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-linux-amd64-0.10.jar
1633
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-linux-i386-0.10.jar
1634
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-osx-amd64-0.10.jar
1635
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-osx-i386-0.10.jar
1636
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-windows-amd64-0.10.jar
1637
@comment %%IDEA_HOME%%/plugins/gradle/lib/native-platform-windows-i386-0.10.jar
1638
bin/idea
1640
man/man1/idea.1.gz
1639
man/man1/idea.1.gz
1641
share/applications/idea.desktop
1640
share/applications/idea.desktop
(-)java/intellij-fsnotifier/Makefile (+31 lines)
Line 0 Link Here
1
# Created by: Tobias Kortkamp <t@tobik.me>
2
# $FreeBSD$
3
4
PORTNAME=	intellij-fsnotifier
5
PORTVERSION=	20160221
6
CATEGORIES=	java devel
7
8
MAINTAINER=	t@tobik.me
9
COMMENT=	Replacement for IntelliJ's fsnotifier
10
11
LICENSE=	APACHE20
12
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
13
14
LIB_DEPENDS=	libinotify.so:${PORTSDIR}/devel/libinotify
15
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	idea4bsd
18
GH_PROJECT=	fsnotifier
19
GH_TAGNAME=	a04fbff6e21d58fea7a3ed2a6a21e53cbef4b7af
20
21
USES=	compiler:c11
22
23
.include "${.CURDIR}/../intellij/common.mk"
24
25
PLIST_FILES=	${IDEA_HOME}/bin/fsnotifier
26
27
do-install:
28
	${MKDIR} ${STAGEDIR}${IDEA_HOME}/bin
29
	${INSTALL_PROGRAM} ${WRKSRC}/fsnotifier ${STAGEDIR}${IDEA_HOME}/bin
30
31
.include <bsd.port.mk>
(-)java/intellij-fsnotifier/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (idea4bsd-fsnotifier-20160221-a04fbff6e21d58fea7a3ed2a6a21e53cbef4b7af_GH0.tar.gz) = 03e217ea5aba24f0ad89c868e4b680f6ec517bcfb35132e5b7a961e0a2505396
2
SIZE (idea4bsd-fsnotifier-20160221-a04fbff6e21d58fea7a3ed2a6a21e53cbef4b7af_GH0.tar.gz) = 12520
(-)java/intellij-fsnotifier/pkg-descr (+6 lines)
Line 0 Link Here
1
The fsnotifier is used by IntelliJ for detecting file changes.  This
2
version supports FreeBSD and OpenBSD via libinotify and is a
3
replacement for the bundled Linux-only version coming with the
4
IntelliJ IDEA Community Edition.
5
6
WWW: https://github.com/idea4bsd/fsnotifier/
(-)java/intellij-pty4j/Makefile (+59 lines)
Line 0 Link Here
1
# Created by: Tobias Kortkamp <t@tobik.me>
2
# $FreeBSD$
3
4
PORTNAME=	intellij-pty4j
5
PORTVERSION=	0.5
6
CATEGORIES=	java devel
7
8
MAINTAINER=	t@tobik.me
9
COMMENT=	FreeBSD-compatible replacement for IntelliJ's bundled Pty4J
10
11
LICENSE=	EPL
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	idea4bsd
16
GH_PROJECT=	pty4j
17
GH_TAGNAME=	5d29b891bca0ddf122fc51e3ce066fe421b47b54
18
19
USES=	gmake
20
21
.include "${.CURDIR}/../intellij/common.mk"
22
23
PLIST_FILES=	${IDEA_HOME}/lib/pty4j-0.5.jar
24
25
.include <bsd.port.options.mk>
26
27
# The directory we need to install Pty4J's native library in depends
28
# on the install target's architecture.  We rebuild libpty.so instead
29
# of using one of the bundled ones which are FreeBSD 10.x only.
30
.if ${ARCH} == "amd64"
31
PTY4J_ARCH=	x86_64
32
.elif ${ARCH} == "i386"
33
PTY4J_ARCH=	x86
34
.else
35
PTY4J_ARCH=
36
.endif
37
38
.if ${PTY4J_ARCH} != ""
39
# Despite what the name might suggest using the linux_x86_64 target
40
# will always build libpty.so for the native platform.
41
BUILD_WRKSRC=	${WRKSRC}/native
42
MAKEFILE=	Makefile_freebsd
43
ALL_TARGET=	linux_x86_64
44
PLIST_FILES+=	${IDEA_HOME}/lib/libpty/freebsd/${PTY4J_ARCH}/libpty.so
45
.else
46
# If native Pty4J support is missing IntelliJ IDEA will still work but
47
# without the ability to open terminals.
48
NO_BUILD=	yes
49
.endif
50
51
do-install:
52
.if ${PTY4J_ARCH} != ""
53
	${MKDIR} ${STAGEDIR}${IDEA_HOME}/lib/libpty/freebsd/${PTY4J_ARCH}
54
# See above why we always use freebsd/x86_64/ here
55
	${INSTALL_LIB} ${WRKSRC}/os/freebsd/x86_64/libpty.so ${STAGEDIR}${IDEA_HOME}/lib/libpty/freebsd/${PTY4J_ARCH}/
56
.endif
57
	${INSTALL_DATA} ${WRKSRC}/build/pty4j-0.5.jar ${STAGEDIR}${IDEA_HOME}/lib/pty4j-0.5.jar
58
59
.include <bsd.port.mk>
(-)java/intellij-pty4j/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (idea4bsd-pty4j-0.5-5d29b891bca0ddf122fc51e3ce066fe421b47b54_GH0.tar.gz) = c931f367534d1d88643a19a15c77e0948b8a146d43dba8af0b89fe0b020ff393
2
SIZE (idea4bsd-pty4j-0.5-5d29b891bca0ddf122fc51e3ce066fe421b47b54_GH0.tar.gz) = 4858191
(-)java/intellij-pty4j/pkg-descr (+3 lines)
Line 0 Link Here
1
FreeBSD-compatible replacement for IntelliJ's bundled Pty4J
2
3
WWW: https://github.com/traff/pty4j/

Return to bug 207474