From nobody Wed Nov 01 09:42:48 2023 X-Original-To: dev-commits-ports-all@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 4SL29j0B49z506ph; Wed, 1 Nov 2023 09:42:49 +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 4SL29h6YtMz3T69; Wed, 1 Nov 2023 09:42:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698831768; 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=bMWk2nuZbg9ZkC/j+JEp0CppX5U63FlcWzv+XOFDPwU=; b=qparIRu515yB0LgDgTQxXL0RcuPHn5pAFXj0k6rX28Qm5PLeHUj+E/zWc6+uTXhiTjixrV kA6g8c7zE3JYPxgHys7yRGfMGFmDGTM42QLRQke2w/xZxjwo3ClV15nQo+2lJGYg071mnc 7sxy+eKgK7tJrKHiRPXUFGw2iQkAjIjrNyfiwqmANfwYrex7uluA4NkJrhQmx5EtgatUV/ ucZJM1sdcwjXY6xZQlfyG3pwABMq55K+vozlHwlzKxg3yASvatOTN/s+Bv3DkUVkO1OvDf RUviqs8XNtCb6ZXPeRaGEjY7OgZF4DhUrni0uIvmKNeJiKzdVLntq3w6k+8OyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698831768; 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=bMWk2nuZbg9ZkC/j+JEp0CppX5U63FlcWzv+XOFDPwU=; b=TYA+dhWqmhRvM1fkfJlc3LxHRanD29b+X+wKnrhd+bBtsJ0JT4fZIHnDOlDHHYQdA6PXD0 RH+lnA8AikhS+0pa25RzlalZ3MbLugV/AvSmt32+TpByP3CvROOhwWlCYP1ysbltuNqSPu bBUJVhOsEk7A1JpjSs1m56pig8hWiqvPdVNrMEg16shFj6/l9lFTDvHyf4Gr+qbqxQWHcG NBTo7UeefI12knD89Uj5Sfu2OSgfYlmGxJesH1ItdHEY75ReOLeETgQ+g5C+MDro4u5Tpb uNe01tc4GRBF0R0dBvPQzCOVHAxZHVT9fScS6xX4pQV0LGg96BJnUZacdfUJIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698831768; a=rsa-sha256; cv=none; b=oRZ3j9yXSrmhRKLccFBSnvfuOlm8W7aEF2scpv/c14nkix/o80TxJl8HwCnMm07DISd/tc FUpfzOhiiM5BZYez6WB5lUbv0lQ2acxVQBacacV5ymQ1u6wh3h9AM74q8YhQqygcXr2JPp BVhmWlXPaHBWA15Fmmm2gnnKMTuc0xTrlh2SW0+vnuK8Z8KjOaanuoI5Bk78X0zqqxHNL9 OltX7FVzJ3r6TeoH8EMJY3pJdT3Q4LMGDigAJRBT4d8LlWR05pZTBg+IVXW31AzLJoay/g pZpIXPXqUV8zzOgcyT7eXnmLDqAPhX6BXohRABw1BqeWaesNN5415oGeWN6Z6A== 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 4SL29h5ddDzh09; Wed, 1 Nov 2023 09:42:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A19gmDn032493; Wed, 1 Nov 2023 09:42:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A19gmJK032490; Wed, 1 Nov 2023 09:42:48 GMT (envelope-from git) Date: Wed, 1 Nov 2023 09:42:48 GMT Message-Id: <202311010942.3A19gmJK032490@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 4bcaeaab1ec4 - main - devel/p5-Term-TermKey: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4bcaeaab1ec4673ae6de88fbe26126749012e52e Auto-Submitted: auto-generated The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=4bcaeaab1ec4673ae6de88fbe26126749012e52e commit 4bcaeaab1ec4673ae6de88fbe26126749012e52e Author: Emanuel Haupt AuthorDate: 2023-11-01 09:31:49 +0000 Commit: Emanuel Haupt CommitDate: 2023-11-01 09:42:12 +0000 devel/p5-Term-TermKey: Add new port This module offers a lightweight Perl wrapper for the libtermkey library, which serves as a valuable tool for abstractly handling keypress events in terminal-based programs. Instead of delivering raw bytes directly from the TTY device, this library furnishes data structures that describe keys, facilitating a more organized and user-friendly approach to key event processing. --- devel/Makefile | 1 + devel/p5-Term-TermKey/Makefile | 23 +++++++++++++++++++++++ devel/p5-Term-TermKey/distinfo | 3 +++ devel/p5-Term-TermKey/pkg-descr | 6 ++++++ devel/p5-Term-TermKey/pkg-plist | 3 +++ 5 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index afbf26f16fc7..e62245b80ab8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3474,6 +3474,7 @@ SUBDIR += p5-Term-Sk SUBDIR += p5-Term-Table SUBDIR += p5-Term-TablePrint + SUBDIR += p5-Term-TermKey SUBDIR += p5-Term-Title SUBDIR += p5-Term-UI SUBDIR += p5-Term-VT102 diff --git a/devel/p5-Term-TermKey/Makefile b/devel/p5-Term-TermKey/Makefile new file mode 100644 index 000000000000..5fb0f40e6434 --- /dev/null +++ b/devel/p5-Term-TermKey/Makefile @@ -0,0 +1,23 @@ +PORTNAME= Term-TermKey +DISTVERSION= 0.17 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Perl wrapper around libtermkey +WWW= https://metacpan.org/pod/Term::TermKey + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Module-Build-Using-PkgConfig>=0:devel/p5-Module-Build-Using-PkgConfig +LIB_DEPENDS= libtermkey.so:devel/libtermkey + +USES= perl5 pkgconfig +USE_PERL5= modbuild + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Term/TermKey/TermKey.so + +.include diff --git a/devel/p5-Term-TermKey/distinfo b/devel/p5-Term-TermKey/distinfo new file mode 100644 index 000000000000..6bc8c716dbde --- /dev/null +++ b/devel/p5-Term-TermKey/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1698825646 +SHA256 (Term-TermKey-0.17.tar.gz) = 2fefc17f2d18e2f6d0bf22f0c0cd542cce91d66ac1a863d2634ad845f6f5f525 +SIZE (Term-TermKey-0.17.tar.gz) = 34654 diff --git a/devel/p5-Term-TermKey/pkg-descr b/devel/p5-Term-TermKey/pkg-descr new file mode 100644 index 000000000000..e7047049e648 --- /dev/null +++ b/devel/p5-Term-TermKey/pkg-descr @@ -0,0 +1,6 @@ +This module offers a lightweight Perl wrapper for the libtermkey +library, which serves as a valuable tool for abstractly handling +keypress events in terminal-based programs. Instead of delivering raw +bytes directly from the TTY device, this library furnishes data +structures that describe keys, facilitating a more organized and +user-friendly approach to key event processing. diff --git a/devel/p5-Term-TermKey/pkg-plist b/devel/p5-Term-TermKey/pkg-plist new file mode 100644 index 000000000000..75803692b120 --- /dev/null +++ b/devel/p5-Term-TermKey/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/Term/TermKey.pm +%%SITE_ARCH%%/auto/Term/TermKey/TermKey.so +%%PERL5_MAN3%%/Term::TermKey.3.gz