Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 06:25:18 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d39bc14d353e - main - devel/jetbrains-pty4j: Update to 0.12.13
Message-ID:  <202308020625.3726PImq041220@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d39bc14d353ebd995af0e3c8f85e3ffa403942bb

commit d39bc14d353ebd995af0e3c8f85e3ffa403942bb
Author:     Dmitry Wagin <dmitry.wagin@ya.ru>
AuthorDate: 2023-08-01 07:59:42 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2023-08-02 06:25:05 +0000

    devel/jetbrains-pty4j: Update to 0.12.13
    
    PR:             272820
    Reported by:    dmitry.wagin@ya.ru (maintainer)
---
 devel/jetbrains-pty4j/Makefile | 43 +++++++++++++-----------------------------
 devel/jetbrains-pty4j/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 33 deletions(-)

diff --git a/devel/jetbrains-pty4j/Makefile b/devel/jetbrains-pty4j/Makefile
index 4fa64d796634..599c80d4645c 100644
--- a/devel/jetbrains-pty4j/Makefile
+++ b/devel/jetbrains-pty4j/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pty4j
-PORTVERSION=	0.12.11
+PORTVERSION=	0.12.13
 CATEGORIES=	devel java
 PKGNAMEPREFIX=	jetbrains-
 DIST_SUBDIR=	jetbrains
@@ -11,43 +11,26 @@ WWW=		https://github.com/JetBrains/pty4j
 LICENSE=	EPL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=	amd64
+
 USES=		gmake
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	JetBrains
 GH_PROJECT=	pty4j
-GH_TAGNAME=	7488f35f79bcd9801ce5ff68afc98a3f43bb97fa
-
-.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.
+GH_TAGNAME=	32b777311438b7a9c5de4cf56cde269ffd27e65e
+
+DATADIR=	${PREFIX}/share/jetbrains/${PORTNAME}
+
+ALL_TARGET=	linux_x86_64
 BUILD_WRKSRC=	${WRKSRC}/native
 MAKEFILE=	Makefile_freebsd
-ALL_TARGET=	linux_x86_64
-PLIST_FILES+=	lib/pty4j/freebsd/${PTY4J_ARCH}/libpty.so
-.else
-# If native Pty4J support is missing.
-NO_BUILD=	yes
-.endif
+PLIST_FILES=	share/jetbrains/${PORTNAME}/${ARCH}/libpty.so
 
 do-install:
-.if ${PTY4J_ARCH} != ""
-	${MKDIR} ${STAGEDIR}${PREFIX}/lib/pty4j/freebsd/${PTY4J_ARCH}
-# See above why we always use freebsd/x86-64/ here
-	${INSTALL_LIB} ${WRKSRC}/os/freebsd/x86-64/libpty.so ${STAGEDIR}${PREFIX}/lib/pty4j/freebsd/${PTY4J_ARCH}/
-.endif
+	${MKDIR} ${STAGEDIR}${DATADIR}/${ARCH}
+	${INSTALL_LIB} \
+		${WRKSRC}/os/freebsd/x86-64/libpty.so \
+		${STAGEDIR}${DATADIR}/${ARCH}
 
 .include <bsd.port.mk>
diff --git a/devel/jetbrains-pty4j/distinfo b/devel/jetbrains-pty4j/distinfo
index 98c4cd846cac..84d7089ad7c4 100644
--- a/devel/jetbrains-pty4j/distinfo
+++ b/devel/jetbrains-pty4j/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680700389
-SHA256 (jetbrains/JetBrains-pty4j-0.12.11-7488f35f79bcd9801ce5ff68afc98a3f43bb97fa_GH0.tar.gz) = 1ff7d547ee85eedb9b2e9a1550745ed60e8392e40b58c03b266335a458bd7c85
-SIZE (jetbrains/JetBrains-pty4j-0.12.11-7488f35f79bcd9801ce5ff68afc98a3f43bb97fa_GH0.tar.gz) = 1586418
+TIMESTAMP = 1690540652
+SHA256 (jetbrains/JetBrains-pty4j-0.12.13-32b777311438b7a9c5de4cf56cde269ffd27e65e_GH0.tar.gz) = c3a5f03827495cc70cadf38ac65a4e490efb71e517459513fafedeb0c888dfd7
+SIZE (jetbrains/JetBrains-pty4j-0.12.13-32b777311438b7a9c5de4cf56cde269ffd27e65e_GH0.tar.gz) = 1588897



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308020625.3726PImq041220>