From d39bc14d353ebd995af0e3c8f85e3ffa403942bb Mon Sep 17 00:00:00 2001 From: Dmitry Wagin Date: Tue, 1 Aug 2023 09:59:42 +0200 Subject: [PATCH] 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 4fa64d796634c..599c80d4645cf 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 - -# 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 diff --git a/devel/jetbrains-pty4j/distinfo b/devel/jetbrains-pty4j/distinfo index 98c4cd846cac8..84d7089ad7c41 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