1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

IntelliJ PyCharm is an advanced IDE developed by JetBrains and

focused on developer productivity. PyCharm provides smart code
completion, code inspections, on-the-fly error highlighting and
quick-fixes, along with automated code refactorings and rich
navigation capabilities.

WWW: http://www.jetbrains.com/pycharm/
This commit is contained in:
Boris Samorodov 2016-05-16 23:03:03 +00:00
parent 6913e4789a
commit 4bb0740824
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415367
8 changed files with 1269 additions and 0 deletions

View File

@ -31,6 +31,7 @@
SUBDIR += intellij
SUBDIR += intellij-fsnotifier
SUBDIR += intellij-pty4j
SUBDIR += intellij-pycharm
SUBDIR += jad
SUBDIR += jaf
SUBDIR += jai

View File

@ -0,0 +1,56 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
PORTNAME= pycharm
PORTVERSION= 2016.1.3
CATEGORIES= java devel python
MASTER_SITES= https://download.jetbrains.com/python/ \
http://download.jetbrains.com/python/
DISTNAME= ${PORTNAME}-community-${PORTVERSION}
PKGNAMEPREFIX= intellij-
MAINTAINER= bsam@FreeBSD.org
COMMENT= IntelliJ PyCharm Community Edition
LICENSE= APACHE20
RUN_DEPENDS= intellij-fsnotifier>0:java/intellij-fsnotifier \
intellij-pty4j>0:java/intellij-pty4j
USE_JAVA= yes
JAVA_VERSION= 1.7+
NO_ARCH= yes
NO_BUILD= yes
.include "${.CURDIR}/../intellij/common.mk"
SUB_FILES+= pkg-message pycharm pycharm-ce.desktop
SUB_LIST+= IDEA_HOME=${IDEA_HOME}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@${TAR} -czf - -C ${WRKSRC} . | ${TAR} xzf - -C ${STAGEDIR}${DATADIR}
# Linux/Windows/OS X only so remove them
@${RM} ${STAGEDIR}${DATADIR}/bin/fsnotifier \
${STAGEDIR}${DATADIR}/bin/fsnotifier-arm \
${STAGEDIR}${DATADIR}/bin/fsnotifier64 \
${STAGEDIR}${DATADIR}/bin/libbreakgen.so \
${STAGEDIR}${DATADIR}/bin/libbreakgen64.so \
# Remove the bundled native Pty4J support libraries, they are replaced
# by java/intellij-pty4j
@${RM} -r ${STAGEDIR}${DATADIR}/lib/libpty
# Remove bundled linux-only JRE
@${RM} -r ${STAGEDIR}${DATADIR}/jre
@${RM} -r ${STAGEDIR}${DATADIR}/helpers/pydev/pydevd_attach_to_process
@${RM} ${STAGEDIR}${DATADIR}/lib/pty4j-0.5.jar
${INSTALL_SCRIPT} ${WRKDIR}/pycharm ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKDIR}/pycharm-ce.desktop ${STAGEDIR}${PREFIX}/share/applications/
#cd ${WRKSRC}/lib && ${JAVA_HOME}/bin/jar xf icons.jar
# TODO: Remove and enable fsnotifier when devel/libinotify is fixed
# Disable filewatcher warning message on IDEA startup
${ECHO} "idea.filewatcher.disabled=true" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
# Use fsnotifier replacement provided by java/intellij-fsnotifier
# ${ECHO} "idea.filewatcher.executable.path=${IDEA_HOME}/bin/fsnotifier" >> ${STAGEDIR}${DATADIR}/bin/idea.properties
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (pycharm-community-2016.1.3.tar.gz) = 98c406abf20cbe18565dfe17a62ac7dba094ed15100aab566ff343eb726647cf
SIZE (pycharm-community-2016.1.3.tar.gz) = 207707566

View File

@ -0,0 +1,8 @@
There is experimental native (faster) file watching support which is
disabled by default. Currently there are problems with watching large
trees. To enable edit %%DATADIR%%/bin/idea.properties and append
idea.filewatcher.disabled=false
idea.filewatcher.executable.path=%%IDEA_HOME%%/bin/fsnotifier
Only enable fsnotifier if your projects have < 600 files.

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=IntelliJ PyCharm Community Edition
GenericName=IntelliJ PyCharm Community Edition
Icon=%%DATADIR%%/bin/pycharm.png
Exec=%%DATADIR%%/bin/pycharm.sh
Comment=Develop with pleasure!
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-pycharm-ce
Categories=Application;Development;IDE;

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec "%%DATADIR%%/bin/pycharm.sh" $@

View File

@ -0,0 +1,7 @@
IntelliJ PyCharm is an advanced IDE developed by JetBrains and
focused on developer productivity. PyCharm provides smart code
completion, code inspections, on-the-fly error highlighting and
quick-fixes, along with automated code refactorings and rich
navigation capabilities.
WWW: http://www.jetbrains.com/pycharm/

File diff suppressed because it is too large Load Diff