Skip to content

Commit

Permalink
devel/p5-Tickit: Add p5-Tickit 0.71
Browse files Browse the repository at this point in the history
Tickit is a high-level toolkit for creating full-screen terminal-based
interactive programs. It allows programs to be written in an abstracted way,
working with a tree of widget objects, to represent the layout of the interface
and implement its behaviours.

Its supported terminal features includes a rich set of rendering attributes
(bold, underline, italic, 256-colours, etc), support for mouse including wheel
and position events above the 224th column and arbitrary modified key input via
libtermkey (all of these will require a supporting terminal as well). It also
supports having multiple instances and non-blocking or asynchronous control.

WWW: https://metacpan.org/release/Tickit
  • Loading branch information
sunpoet committed Apr 29, 2021
1 parent 924b29e commit e4228f0
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -3526,6 +3526,7 @@
SUBDIR += p5-Thrift
SUBDIR += p5-Thrift-XS
SUBDIR += p5-Throwable
SUBDIR += p5-Tickit
SUBDIR += p5-Tie-Array-Pack
SUBDIR += p5-Tie-Array-Sorted
SUBDIR += p5-Tie-CPHash
Expand Down
32 changes: 32 additions & 0 deletions devel/p5-Tickit/Makefile
@@ -0,0 +1,32 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= Tickit
PORTVERSION= 0.71
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:PEVANS
PKGNAMEPREFIX= p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Terminal Interface Construction KIT

LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= libtickit>=0.4.0:devel/libtickit \
p5-Module-Build-Using-PkgConfig>=0:devel/p5-Module-Build-Using-PkgConfig \
${RUN_DEPENDS}
LIB_DEPENDS= libtickit.so:devel/libtickit
RUN_DEPENDS= p5-Struct-Dumb>=0.04:devel/p5-Struct-Dumb
TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal \
p5-Test-HexString>=0:devel/p5-Test-HexString \
p5-Test-Refcount>=0:devel/p5-Test-Refcount

USES= perl5
USE_PERL5= modbuild

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Tickit/Tickit.so

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/p5-Tickit/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1619569395
SHA256 (Tickit-0.71.tar.gz) = b309dd514abae7408bee9dd218ed5041e0dbe1578eca9608eadb84dec0717808
SIZE (Tickit-0.71.tar.gz) = 121617
11 changes: 11 additions & 0 deletions devel/p5-Tickit/files/patch-Build.PL
@@ -0,0 +1,11 @@
--- Build.PL.orig 2020-05-25 11:01:56 UTC
+++ Build.PL
@@ -27,8 +27,6 @@ my $build = Module::Build::Using::PkgConfig->new(

$build->use_pkgconfig( "tickit",
atleast_version => "0.4.0",
- alien => "Alien::libtickit",
- alien_version => "0.09",
);

$build->create_build_script;
12 changes: 12 additions & 0 deletions devel/p5-Tickit/pkg-descr
@@ -0,0 +1,12 @@
Tickit is a high-level toolkit for creating full-screen terminal-based
interactive programs. It allows programs to be written in an abstracted way,
working with a tree of widget objects, to represent the layout of the interface
and implement its behaviours.

Its supported terminal features includes a rich set of rendering attributes
(bold, underline, italic, 256-colours, etc), support for mouse including wheel
and position events above the 224th column and arbitrary modified key input via
libtermkey (all of these will require a supporting terminal as well). It also
supports having multiple instances and non-blocking or asynchronous control.

WWW: https://metacpan.org/release/Tickit
26 changes: 26 additions & 0 deletions devel/p5-Tickit/pkg-plist
@@ -0,0 +1,26 @@
%%SITE_ARCH%%/Tickit.pm
%%SITE_ARCH%%/Tickit/Debug.pm
%%SITE_ARCH%%/Tickit/Event.pm
%%SITE_ARCH%%/Tickit/Pen.pm
%%SITE_ARCH%%/Tickit/Rect.pm
%%SITE_ARCH%%/Tickit/RectSet.pm
%%SITE_ARCH%%/Tickit/RenderBuffer.pm
%%SITE_ARCH%%/Tickit/StringPos.pm
%%SITE_ARCH%%/Tickit/Term.pm
%%SITE_ARCH%%/Tickit/Test.pm
%%SITE_ARCH%%/Tickit/Test/MockTerm.pm
%%SITE_ARCH%%/Tickit/Utils.pm
%%SITE_ARCH%%/Tickit/Window.pm
%%SITE_ARCH%%/auto/Tickit/Tickit.so
%%PERL5_MAN3%%/Tickit.3.gz
%%PERL5_MAN3%%/Tickit::Debug.3.gz
%%PERL5_MAN3%%/Tickit::Event.3.gz
%%PERL5_MAN3%%/Tickit::Pen.3.gz
%%PERL5_MAN3%%/Tickit::Rect.3.gz
%%PERL5_MAN3%%/Tickit::RectSet.3.gz
%%PERL5_MAN3%%/Tickit::RenderBuffer.3.gz
%%PERL5_MAN3%%/Tickit::StringPos.3.gz
%%PERL5_MAN3%%/Tickit::Term.3.gz
%%PERL5_MAN3%%/Tickit::Test.3.gz
%%PERL5_MAN3%%/Tickit::Utils.3.gz
%%PERL5_MAN3%%/Tickit::Window.3.gz

0 comments on commit e4228f0

Please sign in to comment.