From nobody Tue Dec 06 23:38:23 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NRcL76Qy9z4kF5b; Tue, 6 Dec 2022 23:38:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NRcL75qBDz3hmn; Tue, 6 Dec 2022 23:38:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670369903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AToorUoWza9NXX3m+gE7A0wBFx2gTQr3aQ6l5z1lR9w=; b=fX+C8K5ROu8M8r2aqYlgwJX4fPYq5qdziMgKVC2cmMhLKl9ybFFtstrhIu8IO4hivJSQ3z u0QY6dm3FZjTGpwPN5x1p+0tZ7hro0l5qCmnS98zRAw8kl3V126rG1jpLtGIb8o6BPwSLc /1id+H7sxrDVKTrCbM+7YLbub7CLTOp7ej3LMVFJCne/xtVYP4uxrZpbhEMQun0sqJrVXS yPJ31TbE1pMW6JDG1uBt6ATPtCXqvTxE44eAL3VCKAaZ8g8zbMoIKE7Ffrg+ysTrNkX+CL 1yBUahO36NzVi23AM1zL7ghiupExDRuID2ivsndDfSOfeplR5b9A5aGP5TSy/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670369903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AToorUoWza9NXX3m+gE7A0wBFx2gTQr3aQ6l5z1lR9w=; b=Z3AS+JgslejnyvSkyhnYXuR4tOrQ1JaZgbAOmVgxivl2aTKMIb2K1f1h8qboU1nSBJnPL9 L6m1XgRmxiPBJ7JuL61r1YCp4rAZpUE/JAGSa+emql3lm/n0D8S5avZhKKISvB2/cc/8u6 jUVvqRLSNX/wMhqpAG62YG9qbapfMfGoLQMqM5IhJtOYAFvKoNmn305fqEo/UmnTrxJHbE PKZvccRt4XC3KVz9f6fZpnhclIHLAIO7s2Udb69kU5DJSyv9mAUrkLKrBXaAOgBI50Ex9T 5FHe+HadAW6cO1oKVWuCG0tM/5fVbNmPwN0qweeqwAHxgxTLnPrOfW9igZ7kzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670369903; a=rsa-sha256; cv=none; b=PwfJlbG56qreGjimG6jDy+ksiVkosxFZOQjHJ9cNTIq4AY1wp0+hbzUX+FnakXyFJ3NRVk z6gztGOpFOpiBw55bS/+eB/zvQfhn3TOPzHYeoePzqbWArc/K7lJqX02Hepm2cqjSavv/E vNXF3n7t1pkpjJY8qxlcJWjXbyCj3gfeqlahlyy87JMmjwxpbuMohj4eWXCt6oojtUIkNc G5jy/gbP/MBGuyF+rQbINR7o7E7kfj8MF6duN2KctO0/JU0wn2jFnzPcNqrVWehRhJSme+ lvIFmLuFSG4gwMD5F+LvO7gsYDIIjP3HBEeK341UWUtIl4lDyCJCPDDsqx/lQQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NRcL74s8JzwF4; Tue, 6 Dec 2022 23:38:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2B6NcNbb089893; Tue, 6 Dec 2022 23:38:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B6NcNt3089892; Tue, 6 Dec 2022 23:38:23 GMT (envelope-from git) Date: Tue, 6 Dec 2022 23:38:23 GMT Message-Id: <202212062338.2B6NcNt3089892@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: aeef2f0228a2 - main - devel/jetbrains-pty4j: New Port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aeef2f0228a23fb036a08a4d9448af71dd499766 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=aeef2f0228a23fb036a08a4d9448af71dd499766 commit aeef2f0228a23fb036a08a4d9448af71dd499766 Author: Dmitry Wagin AuthorDate: 2022-12-06 23:38:10 +0000 Commit: Guangyuan Yang CommitDate: 2022-12-06 23:38:10 +0000 devel/jetbrains-pty4j: New Port Pseudo terminal support for devel/jetbrains-*. WWW: https://github.com/JetBrains/pty4j PR: 268152 --- devel/Makefile | 1 + devel/jetbrains-pty4j/Makefile | 53 +++++++++++++++++++++++++++++++++++++++++ devel/jetbrains-pty4j/distinfo | 3 +++ devel/jetbrains-pty4j/pkg-descr | 1 + 4 files changed, 58 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index df3d3be8c4c0..524dad708371 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -999,6 +999,7 @@ SUBDIR += jetbrains-clion SUBDIR += jetbrains-goland SUBDIR += jetbrains-phpstorm + SUBDIR += jetbrains-pty4j SUBDIR += jetbrains-webstorm SUBDIR += jgoodies-looks SUBDIR += jiic diff --git a/devel/jetbrains-pty4j/Makefile b/devel/jetbrains-pty4j/Makefile new file mode 100644 index 000000000000..381e5b0db108 --- /dev/null +++ b/devel/jetbrains-pty4j/Makefile @@ -0,0 +1,53 @@ +PORTNAME= pty4j +PORTVERSION= 0.12.10 +CATEGORIES= devel java +PKGNAMEPREFIX= jetbrains- +DIST_SUBDIR= jetbrains + +MAINTAINER= dmitry.wagin@ya.ru +COMMENT= Pty4J's native library +WWW= https://github.com/JetBrains/pty4j + +LICENSE= EPL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gmake + +USE_GITHUB= yes +GH_ACCOUNT= JetBrains +GH_PROJECT= pty4j +GH_TAGNAME= aa7f15307744d5d33a44bd72b42513327c879fd3 + +.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. +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 + +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 + +.include diff --git a/devel/jetbrains-pty4j/distinfo b/devel/jetbrains-pty4j/distinfo new file mode 100644 index 000000000000..97ca3c4ba809 --- /dev/null +++ b/devel/jetbrains-pty4j/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1670074422 +SHA256 (jetbrains/JetBrains-pty4j-0.12.10-aa7f15307744d5d33a44bd72b42513327c879fd3_GH0.tar.gz) = 386a5057f4d5b33139f83bd8ed57a703714fa71c649ab750f8a9839b5133c306 +SIZE (jetbrains/JetBrains-pty4j-0.12.10-aa7f15307744d5d33a44bd72b42513327c879fd3_GH0.tar.gz) = 1586412 diff --git a/devel/jetbrains-pty4j/pkg-descr b/devel/jetbrains-pty4j/pkg-descr new file mode 100644 index 000000000000..c3584fd8d036 --- /dev/null +++ b/devel/jetbrains-pty4j/pkg-descr @@ -0,0 +1 @@ +Pty4J - Pseudo terminal(PTY) implementation in Java.