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

Collapse All | Expand All

(-)b/devel/pycharm-ce/Makefile (-18 / +18 lines)
Lines 1-8 Link Here
1
# Created by: Boris Samorodov <bsam@FreeBSD.org>
1
# Created by: Boris Samorodov <bsam@FreeBSD.org>
2
2
3
PORTNAME=	pycharm-ce
3
PORTNAME=	pycharm-ce
4
PORTVERSION=	2022.1
4
PORTVERSION=	2022.1.1
5
PORTREVISION=	1
6
CATEGORIES=	devel java python
5
CATEGORIES=	devel java python
7
MASTER_SITES=	https://download.jetbrains.com/python/ \
6
MASTER_SITES=	https://download.jetbrains.com/python/ \
8
		http://download.jetbrains.com/python/
7
		http://download.jetbrains.com/python/
Lines 30-56 NO_BUILD= yes Link Here
30
SUB_FILES+=	pkg-message pycharm ${PORTNAME}.desktop
29
SUB_FILES+=	pkg-message pycharm ${PORTNAME}.desktop
31
SUB_LIST+=	IDEA_HOME=${IDEA_HOME}
30
SUB_LIST+=	IDEA_HOME=${IDEA_HOME}
32
31
33
do-install:
32
# Remove non-native binaries
34
	@${MKDIR} ${STAGEDIR}${DATADIR}
33
post-extract:
35
	@${TAR} -czf - -C ${WRKSRC} . | ${TAR} xzf - -C ${STAGEDIR}${DATADIR}
34
	@${RM} ${WRKSRC}/bin/*fsnotifier* ${WRKSRC}/bin/*.so ${WRKSRC}/bin/repair
36
# Linux/Windows/OS X only so remove them
35
	@${FIND} ${WRKSRC}/plugins -name '*.so' -delete
37
	@${RM} ${STAGEDIR}${DATADIR}/bin/*fsnotifier* ${STAGEDIR}${DATADIR}/bin/*.so ${STAGEDIR}${DATADIR}/bin/repair
36
	@${RM} -r ${WRKSRC}/plugins/cwm-plugin/quiche-native
38
	@${FIND} ${STAGEDIR}${DATADIR}/plugins -name '*.so' -delete
37
	@${RM} -r ${WRKSRC}/plugins/python-ce/helpers/pydev/pydevd_attach_to_process
39
	@${RM} -r ${STAGEDIR}${DATADIR}/plugins/cwm-plugin/quiche-native
40
# Remove the bundled native Pty4J support libraries, they are replaced
38
# Remove the bundled native Pty4J support libraries, they are replaced
41
# by java/intellij-pty4j
39
# by java/intellij-pty4j
42
	@${RM} -r ${STAGEDIR}${DATADIR}/lib/pty4j-native
40
	@${RM} -r ${WRKSRC}/lib/pty4j-native
41
	@${RM} ${WRKSRC}/lib/pty4j-0.5.jar
43
# Remove bundled linux-only JRE
42
# Remove bundled linux-only JRE
44
	@${RM} -r ${STAGEDIR}${DATADIR}/jbr
43
	@${RM} -r ${WRKSRC}/jbr
45
	@${RM} -r ${STAGEDIR}${DATADIR}/plugins/python-ce/helpers/pydev/pydevd_attach_to_process
46
	@${RM} ${STAGEDIR}${DATADIR}/lib/pty4j-0.5.jar
47
	${INSTALL_SCRIPT} ${WRKDIR}/pycharm ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
48
	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
49
	#cd ${WRKSRC}/lib && ${JAVA_HOME}/bin/jar xf icons.jar
50
# TODO: Remove and enable fsnotifier when devel/libinotify is fixed
44
# TODO: Remove and enable fsnotifier when devel/libinotify is fixed
51
# Disable filewatcher warning message on IDEA startup
45
# Disable filewatcher warning message on IDEA startup
52
	${ECHO} "idea.filewatcher.disabled=true" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
46
	${ECHO} "idea.filewatcher.disabled=true" >> ${WRKSRC}/bin/idea.properties
53
# Use fsnotifier replacement provided by java/intellij-fsnotifier
47
# Use fsnotifier replacement provided by java/intellij-fsnotifier
54
	${ECHO} "idea.filewatcher.executable.path=${IDEA_HOME}/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
48
	${ECHO} "idea.filewatcher.executable.path=${IDEA_HOME}/bin/fsnotifier" >> ${WRKSRC}/bin/idea.properties
49
50
do-install:
51
	@${MKDIR} ${STAGEDIR}${DATADIR}
52
	cd "${WRKSRC}" && ${FIND} . | ${CPIO} -pdum -R root:wheel ${STAGEDIR}${DATADIR}
53
	${INSTALL_SCRIPT} ${WRKDIR}/pycharm ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
54
	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
55
55
56
.include <bsd.port.mk>
56
.include <bsd.port.mk>
(-)b/devel/pycharm-ce/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1650236060
1
TIMESTAMP = 1652391396
2
SHA256 (pycharm-community-2022.1.tar.gz) = 35d857df0ac4bd76caba60ac329c9183594be142094d0592f2afa40534be85eb
2
SHA256 (pycharm-community-2022.1.1.tar.gz) = 10d25ec698c4de4b07344e9f5ab4faef17f93e2a28711858d0e7232c5031d813
3
SIZE (pycharm-community-2022.1.tar.gz) = 540005306
3
SIZE (pycharm-community-2022.1.1.tar.gz) = 540338511
(-)b/devel/pycharm-ce/pkg-plist (-3 / +3 lines)
Lines 32-38 share/applications/pycharm-ce.desktop Link Here
32
%%DATADIR%%/lib/asm-commons-7.1.jar
32
%%DATADIR%%/lib/asm-commons-7.1.jar
33
%%DATADIR%%/lib/asm-tree-7.1.jar
33
%%DATADIR%%/lib/asm-tree-7.1.jar
34
%%DATADIR%%/lib/asm-util-7.1.jar
34
%%DATADIR%%/lib/asm-util-7.1.jar
35
%%DATADIR%%/lib/build-marker-PC-221.5080.212
35
%%DATADIR%%/lib/build-marker-PC-221.5591.52
36
%%DATADIR%%/lib/byte-buddy-agent.jar
36
%%DATADIR%%/lib/byte-buddy-agent.jar
37
%%DATADIR%%/lib/cds/classesLogAgent.jar
37
%%DATADIR%%/lib/cds/classesLogAgent.jar
38
%%DATADIR%%/lib/dbus-java-3.2.1.jar
38
%%DATADIR%%/lib/dbus-java-3.2.1.jar
Lines 155-162 share/applications/pycharm-ce.desktop Link Here
155
%%DATADIR%%/plugins/platform-images/lib/platform-images.jar
155
%%DATADIR%%/plugins/platform-images/lib/platform-images.jar
156
%%DATADIR%%/plugins/properties/lib/properties.jar
156
%%DATADIR%%/plugins/properties/lib/properties.jar
157
%%DATADIR%%/plugins/pycharm-community-sharedIndexes-bundled/lib/pycharm-community-sharedIndexes-bundled.jar
157
%%DATADIR%%/plugins/pycharm-community-sharedIndexes-bundled/lib/pycharm-community-sharedIndexes-bundled.jar
158
%%DATADIR%%/plugins/pycharm-community-sharedIndexes-bundled/python-sdk/python-sdk-5577605471ec-af0249357b51.ijx
158
%%DATADIR%%/plugins/pycharm-community-sharedIndexes-bundled/python-sdk/python-sdk-3e6af03bb868-af0249357b51.ijx
159
%%DATADIR%%/plugins/pycharm-community-sharedIndexes-bundled/python-sdk/python-sdk-5577605471ec-af0249357b51.txt
159
%%DATADIR%%/plugins/pycharm-community-sharedIndexes-bundled/python-sdk/python-sdk-3e6af03bb868-af0249357b51.txt
160
%%DATADIR%%/plugins/python-ce/helpers/MathJax/MathJax.js
160
%%DATADIR%%/plugins/python-ce/helpers/MathJax/MathJax.js
161
%%DATADIR%%/plugins/python-ce/helpers/MathJax/config/TeX-AMS_HTML-full.js
161
%%DATADIR%%/plugins/python-ce/helpers/MathJax/config/TeX-AMS_HTML-full.js
162
%%DATADIR%%/plugins/python-ce/helpers/MathJax/config/local/local.js
162
%%DATADIR%%/plugins/python-ce/helpers/MathJax/config/local/local.js

Return to bug 263947