java/intellij-pty4j: Remove port

Desktop-focused software not aligned with server objectives
This commit is contained in:
2025-04-28 17:39:50 +02:00
parent 6bad937c81
commit f2e38e1220
5 changed files with 1 additions and 59 deletions
-1
View File
@@ -24,7 +24,6 @@
SUBDIR += hamcrest
SUBDIR += intellij
SUBDIR += intellij-fsnotifier
SUBDIR += intellij-pty4j
SUBDIR += jad
SUBDIR += jai
SUBDIR += jakarta-oro
-54
View File
@@ -1,54 +0,0 @@
PORTNAME= intellij-pty4j
PORTVERSION= 0.12.35
CATEGORIES= java devel
MAINTAINER= jinking.this@gmail.com
COMMENT= Pty4J's native library
WWW= https://github.com/traff/pty4j
LICENSE= EPL
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= JetBrains
GH_PROJECT= pty4j
GH_TAGNAME= 823eadafa619d8726b89675455e07c292718694f
.include "${.CURDIR}/../intellij/common.mk"
.include <bsd.port.options.mk>
# The directory we need to install Pty4J's native library in depends
# on the install target's architecture. We rebuild libpty.so instead
# of using one of the bundled ones which are FreeBSD 10.x only.
.if ${ARCH} == "amd64"
PTY4J_ARCH= x86-64
.elif ${ARCH} == "i386"
PTY4J_ARCH= x86
.else
PTY4J_ARCH=
.endif
.if ${PTY4J_ARCH} != ""
# Despite what the name might suggest using the linux_x86_64 target
# will always build libpty.so for the native platform.
BUILD_WRKSRC= ${WRKSRC}/native
MAKEFILE= Makefile_freebsd
ALL_TARGET= linux_x86_64
PLIST_FILES+= ${IDEA_HOME}/lib/libpty/freebsd/${PTY4J_ARCH}/libpty.so
.else
# If native Pty4J support is missing IntelliJ IDEA will still work but
# without the ability to open terminals.
NO_BUILD= yes
.endif
do-install:
.if ${PTY4J_ARCH} != ""
${MKDIR} ${STAGEDIR}${IDEA_HOME}/lib/libpty/freebsd/${PTY4J_ARCH}
# See above why we always use freebsd/x86-64/ here
${INSTALL_LIB} ${WRKSRC}/os/freebsd/x86-64/libpty.so ${STAGEDIR}${IDEA_HOME}/lib/libpty/freebsd/${PTY4J_ARCH}/
.endif
.include <bsd.port.mk>
-3
View File
@@ -1,3 +0,0 @@
TIMESTAMP = 1723084085
SHA256 (JetBrains-pty4j-0.12.35-823eadafa619d8726b89675455e07c292718694f_GH0.tar.gz) = 548c1e9340b0e6b1bff096f1f120aeb8b41cae328d9e9ccef5354ccb55d08435
SIZE (JetBrains-pty4j-0.12.35-823eadafa619d8726b89675455e07c292718694f_GH0.tar.gz) = 3037692
-1
View File
@@ -1 +0,0 @@
FreeBSD-compatible replacement for IntelliJ's bundled Pty4J