Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1698825646 | ||
SHA256 (Term-TermKey-0.17.tar.gz) = 2fefc17f2d18e2f6d0bf22f0c0cd542cce91d66ac1a863d2634ad845f6f5f525 | ||
SIZE (Term-TermKey-0.17.tar.gz) = 34654 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
%%SITE_ARCH%%/Term/TermKey.pm | ||
%%SITE_ARCH%%/auto/Term/TermKey/TermKey.so | ||
%%PERL5_MAN3%%/Term::TermKey.3.gz |